public override Camera CreateCamera(int width, int height) { _camera = new OpenTKCamera(width, height); return _camera; }
public override void SetCamera(Camera Camera) { if(Camera is OpenTKCamera) { _camera = (OpenTKCamera) Camera; } else { throw new Exception("Cannot attach a non OpenTKCamera to an OpenTKRenderer."); } }
public OpenTKRenderer () { _camera = null; _nullScene = false; GL.GenTextures(1, out _handle); }