From ade299156d2f757d6873608b3813ce4ef95b46ef Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 8 Jun 2009 22:46:18 +0000 Subject: [PATCH] Fixed Matrix4.CreateOrthographicOffCenter (M44 should be 1). --- Source/OpenTK/Math/Matrix4.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/OpenTK/Math/Matrix4.cs b/Source/OpenTK/Math/Matrix4.cs index 53f4c08c..74acff42 100644 --- a/Source/OpenTK/Math/Matrix4.cs +++ b/Source/OpenTK/Math/Matrix4.cs @@ -382,6 +382,7 @@ namespace OpenTK.Math result.M41 = -(right + left) * invRL; result.M42 = -(top + bottom) * invTB; result.M43 = -(zFar + zNear) * invFN; + result.M44 = 1; } ///