From 0db3585bc1f75d8f4f2db779d05e63ca345c79de Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 13 Aug 2017 13:56:03 -0400 Subject: math: matrix: Fix docstring. * chickadee/math/matrix.scm (orthographic-projection): s/transform/matrix/ --- chickadee/math/matrix.scm | 7 +++---- 1 file 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 -- cgit v1.2.3