summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/math/matrix.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/chickadee/math/matrix.scm b/chickadee/math/matrix.scm
index cb9f1e1..c86b20c 100644
--- a/chickadee/math/matrix.scm
+++ b/chickadee/math/matrix.scm
@@ -272,10 +272,9 @@ column-major format."
matrix))
(define (orthographic-projection left right top bottom near far)
- "Return a new transform that represents an orthographic projection
-for the vertical clipping plane LEFT and RIGHT, the horizontal
-clipping plane TOP and BOTTOM, and the depth clipping plane NEAR and
-FAR."
+ "Return a new matrix4 that represents an orthographic projection for
+the vertical clipping plane LEFT and RIGHT, the horizontal clipping
+plane TOP and BOTTOM, and the depth clipping plane NEAR and FAR."
(make-matrix4 (/ 2 (- right left)) 0.0 0.0 0.0
0.0 (/ 2 (- top bottom)) 0.0 0.0
0.0 0.0 (/ 2 (- far near)) 0.0