mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:35:38 +00:00
Fixed Matrix4.CreateOrthographicOffCenter (M44 should be 1).
This commit is contained in:
parent
43e0b67b2e
commit
29262a075d
|
@ -382,6 +382,7 @@ namespace OpenTK.Math
|
||||||
result.M41 = -(right + left) * invRL;
|
result.M41 = -(right + left) * invRL;
|
||||||
result.M42 = -(top + bottom) * invTB;
|
result.M42 = -(top + bottom) * invTB;
|
||||||
result.M43 = -(zFar + zNear) * invFN;
|
result.M43 = -(zFar + zNear) * invFN;
|
||||||
|
result.M44 = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue