Exemple #1
0
        public override void Render3D()
        {
            Program.Camera3D.Position = new Vector3d(Pos.X, Pos.Y, Pos.Z);
            Program.Camera3D.LookAt(new Vector3d(Lookat.X, Lookat.Y, 0));

            GraphicsManager.PushMatrix();
            {
                testobj.Draw();
            }
            GraphicsManager.PopMatrix();
        }