Esempio n. 1
0
 public Floating(Color Colour, float Size = 1.0f)
 {
     this.Model = new GameModel.Model();
     this.Model.Clear();
     this.Colour = Colour;
     l           = new GameModel.TestParts.PartLight(Colour);
     GameModel.TestParts.PartBugLeg b = new GameModel.TestParts.PartBugLeg();
     l.Width = Size;;
     // this.Model.Append(b, Matrix.Identity);
     this.Model.Append(l, Matrix.Identity);
 }
Esempio n. 2
0
        public LightBall(Color Colour, float Size = 1.0f)
        {
            this.Model = new GameModel.Model();
            this.Model.Clear();
            this.Colour = Colour;
            l           = new GameModel.TestParts.PartLight(Colour);
            //GameModel.TestParts.PartBugLeg b = new GameModel.TestParts.PartBugLeg();
            l.Width = Size;

            //  l.Dislocation = Matrix.CreateTranslation(0, 0, 1.2f);
            //this.Model.Append(b, Matrix.Identity);
            this.Model.Append(l, Matrix.Identity);
        }