diff options
-rw-r--r-- | Spear/Math/Matrix4.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Spear/Math/Matrix4.hs b/Spear/Math/Matrix4.hs index 12eb031..16f7c93 100644 --- a/Spear/Math/Matrix4.hs +++ b/Spear/Math/Matrix4.hs | |||
@@ -419,7 +419,7 @@ perspective fovy r near far = | |||
419 | in mat4 | 419 | in mat4 |
420 | (f/r) 0 0 0 | 420 | (f/r) 0 0 0 |
421 | 0 f 0 0 | 421 | 0 f 0 0 |
422 | 0 0 ((near+far)/a) (2*near*far/a) | 422 | 0 0 ((far+near)/a) (2*far*near/a) |
423 | 0 0 (-1) 0 | 423 | 0 0 (-1) 0 |
424 | 424 | ||
425 | 425 | ||