From d54995cad9ddf652cd2f7abb128d5d251f9454f1 Mon Sep 17 00:00:00 2001
From: David Thompson Return Return Return a new 3x3 matrix that is a copy of matrix.
+ Return a new 3x3 matrix containing the product of multiplying all of
@@ -171,6 +181,11 @@ matrix matrix.
The following procedures perform in-place, destructive updates to 3x3
matrix objects:
Copy the contents of matrix src to dest.
+ Modify matrix in-place to contain the identity matrix.
@@ -246,6 +261,16 @@ equivalent to the following code:
Return Return Return a new 4x4 matrix that is a copy of matrix.
+ Return a new 4x4 matrix containing the product of multiplying all of
@@ -254,6 +279,14 @@ the given matrices.
Note: Remember that matrix multiplication is not commutative!
Return the inverse of matrix.
+ A matrix multiplied by its inverse is the identity matrix, thought not
+always exactly due to the nature of floating point numbers.
+#t
if obj is a 3x3 matrix.
+
+
+#t
if m1 is the same matrix as m2.
+
+
+
+
+
+#t
if obj is a 4x4 matrix.
+
+
+#t
if m1 is the same matrix as m2.
+
+
+
+
+
+
The following procedures perform in-place, destructive updates to 4x4 +matrix objects: +
+Copy the contents of matrix src to dest. +
Modify matrix in-place to contain the identity matrix. @@ -308,6 +349,12 @@ axis defined by the quaternion q. the result in the 4x4 matrix dest.
Compute the inverse of matrix and store the result in +target. +
Modify matrix in-place to contain a translation by x, a 2D @@ -334,12 +381,12 @@ axis defined by the quaternion q.
Modify matrix in-place to contain the transformation described by position, a 2D vector or rectangle, rotation, a scalar representing a rotation about the Z axis, scale, a 2D vector, -and skew, a 2D vector. The transformation happens with respect +and shear, a 2D vector. The transformation happens with respect to origin, a 2D vector. If an argument is not provided, that particular transformation will not be included in the result.