public Renderer(StaticShader Shader, WinowInfo Window) { this.shader = Shader; window = Window; Gl.Enable(EnableCap.CullFace); Gl.CullFace(CullFaceMode.Back); createProjectionMatrix(); shader.start(); shader.loadProjectionMatrix(projectionMatrix); shader.stop(); }
public MasterRenderer(WinowInfo window) { this.shader = new StaticShader(); this.renderer = new Renderer(shader, window); }