コード例 #1
0
ファイル: HeavyRubblePile.cs プロジェクト: angjminer/rawbots
        public HeavyRubblePile()
        {
            PosX = PosY = 0;

            cube = new CubeModel();
            cube.SetColor(0.64f, 0.64f, 0.67f);

            hemiM = new HemisphereModel(1.0f);
            hemiM.LatitudinalSlices = 10;
            hemiM.LongitudinalSlices = 10;
            cube.SetColor(0.64f, 0.64f, 0.67f);

            material = new Material(Material.MaterialType.ROCK_DIFFUSE);
            cube.AssignMaterial(material);
            hemiM.AssignMaterial(material);
        }
コード例 #2
0
        public HeavyRubblePile()
        {
            PosX = PosY = 0;

            cube = new CubeModel();
            cube.SetColor(0.64f, 0.64f, 0.67f);

            hemiM = new HemisphereModel(1.0f);
            hemiM.LatitudinalSlices  = 10;
            hemiM.LongitudinalSlices = 10;
            cube.SetColor(0.64f, 0.64f, 0.67f);

            material = new Material(Material.MaterialType.ROCK_DIFFUSE);
            cube.AssignMaterial(material);
            hemiM.AssignMaterial(material);
        }