public Renderer(StaticShader shader) { projectionMatrix = Matrix4.CreatePerspectiveFieldOfView( (float)((Math.PI / 180) * 70f), 1280f / 720f, 0.1f, 1000f); shader.Use(); shader.LoadProjectionMatrix(ref projectionMatrix); shader.UnUse(); }