summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index f6333d6..0a15586 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1093,6 +1093,10 @@ Return a new 2D vector that is @var{v} as transformed by the 3x3
matrix @var{matrix}.
@end deffn
+@deffn {Procedure} matrix3-inverse matrix
+Return the inverse of @var{matrix}.
+@end deffn
+
The following procedures perform in-place, destructive updates to 3x3
matrix objects:
@@ -1125,6 +1129,11 @@ Modify the 2D vector @var{v} in-place to contain @var{v} as
transformed by the 3x3 matrix @var{matrix}.
@end deffn
+@deffn {Procedure} matrix3-inverse! matrix target
+Compute the inverse of @var{matrix} and store the results in
+@var{target}.
+@end deffn
+
@subsubsection 4x4 Matrices
@deffn {Procedure} make-matrix4 aa ab ac ad @