summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-01 15:58:23 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-01 16:06:44 -0400
commit8da5b88f09b12dd5fbecdcc65d6e02888ace31f9 (patch)
tree109c4024f9c704cf8cc7aa61747bf9e9e657c120 /doc
parent9394b9f1a100cc7ecdf024c0c525e535b0301cd3 (diff)
math: matrix: Fix shear implementation in matrix4-2d-transform!
First of all, it's "shear", not "skew". Second, the math was wrong. Good job!
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 6d14cd6..469c5d7 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1203,12 +1203,12 @@ Modify @var{matrix} in-place to contain a rotation about the Z axis by
@deffn {Procedure} matrix4-2d-transform! matrix [#:origin] @
[#:position] [#:rotation] @
- [#:scale] [#:skew]
+ [#:scale] [#:shear]
Modify @var{matrix} in-place to contain the transformation described
by @var{position}, a 2D vector or rectangle, @var{rotation}, a scalar
representing a rotation about the Z axis, @var{scale}, a 2D vector,
-and @var{skew}, a 2D vector. The transformation happens with respect
+and @var{shear}, a 2D vector. The transformation happens with respect
to @var{origin}, a 2D vector. If an argument is not provided, that
particular transformation will not be included in the result.
@end deffn