summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index e51a81d..9d743b4 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1023,6 +1023,14 @@ equivalent to the following code:
Return @code{#t} if @var{obj} is a 3x3 matrix.
@end deffn
+@deffn {Procedure} matrix3= m1 m2
+Return @code{#t} if @var{m1} is the same matrix as @var{m2}.
+@end deffn
+
+@deffn {Procedure} matrix3-copy matrix
+Return a new 3x3 matrix that is a copy of @var{matrix}.
+@end deffn
+
@deffn {Procedure} matrix3* . matrices
Return a new 3x3 matrix containing the product of multiplying all of
the given @var{matrices}.
@@ -1057,6 +1065,10 @@ Return the inverse of @var{matrix}.
The following procedures perform in-place, destructive updates to 3x3
matrix objects:
+@deffn {Procedure} matrix3-copy! src dest
+Copy the contents of matrix @var{src} to @var{dest}.
+@end deffn
+
@deffn {Procedure} matrix3-identity! matrix
Modify @var{matrix} in-place to contain the identity matrix.
@end deffn
@@ -1124,6 +1136,14 @@ equivalent to the following code:
Return @code{#t} if @var{obj} is a 4x4 matrix.
@end deffn
+@deffn {Procedure} matrix4= m1 m2
+Return @code{#t} if @var{m1} is the same matrix as @var{m2}.
+@end deffn
+
+@deffn {Procedure} matrix4-copy matrix
+Return a new 4x4 matrix that is a copy of @var{matrix}.
+@end deffn
+
@deffn {Procedure} matrix4* . matrices
Return a new 4x4 matrix containing the product of multiplying all of
the given @var{matrices}.
@@ -1175,6 +1195,13 @@ Return a new 4x4 matrix that represents a rotation about the Z axis by
@var{theta} radians.
@end deffn
+The following procedures perform in-place, destructive updates to 4x4
+matrix objects:
+
+@deffn {Procedure} matrix4-copy! src dest
+Copy the contents of matrix @var{src} to @var{dest}.
+@end deffn
+
@deffn {Procedure} matrix4-identity! matrix
Modify @var{matrix} in-place to contain the identity matrix.
@end deffn