FXHMat is a 3-D homogeneous matrix.
Returns a new FXHMat instance with uninitialized
elements.
Returns a new FXHMat instance with all elements
initialized to w.
new(a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23, a30, a31, a32, a33)
|
Returns a new FXHMat instance with elements
initialized by the supplied values (e.g. _a12_ is the initial value for the
second row and third column).
Returns a new FXHMat instance with each row
initialized to the values in each of the input vectors (a,
b, c and d).
Returns a new FXHMat instance initialized from
the contents of otherMatrix.
Returns sum of this matrix and other.
Returns the product of this matrix and x, where x is
either another matrix or a scalar.
Returns the result of performing an elementwise division of this matrix by
x.
Returns the ith row of this matrix (an FXHVec)
Returns the determinant of this matrix
Returns the transpose of this matrix
Returns the inversion of this matrix
Returns the stringified version of this matrix
Set to identity matrix and return self.
Set to orthographic projection for specified bounding box and return
self.
Set to perspective projection for specified bounding box and return
self.
Multiply by left-hand matrix and return self.
Pre-multiply this matrix by the rotation about unit-quaternion q
and return self.
Pre-multiply this matrix by the rotation (c, s) about
axis and return self. Here, axis is a FXVec
instance, c is the cosine of the angle of rotation and s
is the sine of the angle of rotation.
Pre-multiply by a rotation of phi radians about axis (an
FXVec instance) and and return self.
Pre-multiply by rotation about the x-axis and return self. Here,
c is the cosine of the angle of rotation and s is the
sine of the angle of rotation.
Pre-multiply by a rotation of phi radians about the x-axis and
return self.
Pre-multiply by rotation about the y-axis and return self. Here,
c is the cosine of the angle of rotation and s is the
sine of the angle of rotation.
Pre-multiply by a rotation of phi radians about the y-axis and
return self.
Pre-multiply by rotation about the z-axis and return self. Here,
c is the cosine of the angle of rotation and s is the
sine of the angle of rotation.
Pre-multiply by a rotation of phi radians about the z-axis and
return self.
Pre-multiply this matrix by the translation tranformation matrix
T(tx, ty, tz) and return self.
Pre-multiply this matrix by the translation tranformation matrix
T(vec[0], vec[1], vec[2]) and return
self.
Pre-multiply by the scaling tranformation matrix S(sx,
sy, sz) and return self.
Scale by s and return self.
Pre-multiply by the scaling tranformation matrix S(sx,
sy, sz) and return self.