summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-08-13 13:56:03 -0400
committerDavid Thompson <dthompson2@worcester.edu>2017-09-13 21:16:30 -0400
commit0db3585bc1f75d8f4f2db779d05e63ca345c79de (patch)
treeeb40190dc8763b3f2f76132912ccfe1203a1595c
parentf52d92b94148a0fd86ca4b44287543480dedb19f (diff)
math: matrix: Fix docstring.
* chickadee/math/matrix.scm (orthographic-projection): s/transform/matrix/
-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