Exemplo n.º 1
0
 protected override void Init()
 {
     cursor           = new CursorIcon();
     Scene.Background = Colors.DodgerBlue;
     ide_camera       = new PerspectiveCamera()
     {
         Position    = new Vector4(0, 2f, 0),
         FieldOfView = (float)Math.PI / 3,
         Far         = 128f,
         Near        = 0.001f,
         Aspect      = 1.0f
     };
     Scene.Camera = ide_camera;
     Scene.ParentNode.Add(ide_camera);
 }
Exemplo n.º 2
0
 protected override void Init()
 {
     cursor = new CursorIcon();
     Scene.Background = Colors.DodgerBlue;
     ide_camera = new PerspectiveCamera()
     {
         Position = new Vector4(0, 2f, 0),
         FieldOfView = (float)Math.PI / 3,
         Far = 128f,
         Near = 0.001f,
         Aspect = 1.0f
     };
     Scene.Camera = ide_camera;
     Scene.ParentNode.Add(ide_camera);
 }