diff --git a/Source/OpenTK/Math/Matrix4.cs b/Source/OpenTK/Math/Matrix4.cs index ee390329..d46ad29e 100644 --- a/Source/OpenTK/Math/Matrix4.cs +++ b/Source/OpenTK/Math/Matrix4.cs @@ -379,7 +379,7 @@ namespace OpenTK.Math /// A projection matrix that transforms camera space to raster space public static Matrix4 Perspective(float fovy, float aspect, float near, float far) { - float yMax = near * (float)System.Math.Tan(fovy); + float yMax = near * (float)System.Math.Tan(0.5f * fovy); float yMin = -yMax; float xMin = yMin * aspect; float xMax = yMax * aspect;