Exemple #1
0
 public GLWindow() : base(new GameWindowSettings(), new NativeWindowSettings() { NumberOfSamples = 4 })
 {
     base.Size = new OpenTK.Mathematics.Vector2i(640, 480);
     gLWindow  = this;
     Initialize();
 }
 void Awake()
 {
     cameraDir = new Vector4(0, 0, -1, 1);
     game      = GLWindow.gLWindow;
 }