![]()
Performs a per-component addition of the matrices mat0 and mat1, storing
the result into resultMat.
Arguments:
Returns: goog.vec.ArrayType
return resultMat so that operations can be
chained together.
|
code » | |||||||||||
![]()
Creates a clone of a 3x3 matrix.
Arguments:
Returns: goog.vec.Matrix3.Type
The new 3x3 element matrix.
|
code » | |||||||||||
![]()
Creates the array representation of a 3x3 matrix. The use of the array
directly eliminates any overhead associated with the class representation
defined above. The returned matrix is cleared to all zeros.
Returns: goog.vec.Matrix3.Type
The new, nine element array.
|
code » | |||||||||||
![]()
Creates a 3x3 matrix initialized from the given array.
Arguments:
Returns: goog.vec.Matrix3.Type
The new, nine element array.
|
code » | |||||||||||
![]()
Creates a 3x3 matrix initialized from the given values.
Arguments:
Returns: goog.vec.Matrix3.Type
The new, nine element array.
|
code » | |||||||||||
![]()
Creates the array representation of a 3x3 matrix. The use of the array
directly eliminates any overhead associated with the class representation
defined above. The returned matrix is initialized with the identity.
Returns: goog.vec.Matrix3.Type
The new, nine element array.
|
code » | |||||||||||
Returns true if the components of mat0 are equal to the components of mat1.
Arguments:
Returns: boolean
True if the the two matrices are equivalent.
|
code » | |||||||||||
![]()
Retrieves the specified column from the matrix into the given vector
array.
Arguments:
|
code » | |||||||||||
![]()
Retrieves the column values from the given matrix into the given vector
elements.
Arguments:
|
code » | |||||||||||
Retrieves the element at the requested row and column.
|
code » | |||||||||||
![]()
Retrieves the row values into the given vector.
Arguments:
|
code » | |||||||||||
![]()
Retrieves the rows of the matrix into the supplied vectors.
Arguments:
|
code » | |||||||||||
Computes the inverse of mat0 storing the result into resultMat. If the
inverse is defined, this function returns true, false otherwise.
Arguments:
Returns: boolean
True if the inverse is defined. If false is returned,
resultMat is not modified.
|
code » | |||||||||||
![]()
Initializes the given 3x3 matrix as a rotation matrix with the given rotation
angle about the axis defined by the vector (ax, ay, az).
|
code » | |||||||||||
![]()
Initializes the given 3x3 matrix as a scale matrix with x, y and z scale
factors.
|
code » | |||||||||||
![]()
Initializes the given 3x3 matrix as a translation matrix with x and y
translation values.
|
code » | |||||||||||
![]()
Multiplies the two matrices mat0 and mat1 using matrix multiplication,
storing the result into resultMat.
Arguments:
Returns: goog.vec.ArrayType
return resultMat so that operations can be
chained together.
|
code » | |||||||||||
![]()
Transforms the given vector with the given matrix storing the resulting,
transformed matrix into resultVec.
Arguments:
Returns: goog.vec.ArrayType
return resultVec so that operations can be
chained together.
|
code » | |||||||||||
![]()
Performs a component-wise multiplication of mat0 with the given scalar
storing the result into resultMat.
Arguments:
Returns: goog.vec.ArrayType
return resultMat so that operations can be
chained together.
|
code » | |||||||||||
![]()
Sets the specified column with the value from the supplied array.
Arguments:
|
code » | |||||||||||
![]()
Sets the specified column with the supplied values.
|
code » | |||||||||||
![]()
Sets the columns of the matrix from the set of vector elements.
Arguments:
|
code » | |||||||||||
![]()
Sets the diagonal values of the matrix from the given vector.
Arguments:
|
code » | |||||||||||
![]()
Sets the diagonal values of the matrix from the given values.
|
code » | |||||||||||
![]()
Sets the element at the requested row and column.
|
code » | |||||||||||
![]()
Sets the matrix from the array of values stored in column major order.
Arguments:
|
code » | |||||||||||
![]()
Sets the matrix from the array of values stored in row major order.
Arguments:
|
code » | |||||||||||
![]()
Initializes the matrix from the set of values. Note the values supplied are
in column major order.
Arguments:
|
code » | |||||||||||
![]()
Sets the given matrix to the identity matrix.
Arguments:
|
code » | |||||||||||
![]()
Sets the row values from the supplied vector.
Arguments:
|
code » | |||||||||||
![]()
Sets the row values from the supplied values.
|
code » | |||||||||||
![]()
Sets the rows of the matrix from the supplied vectors.
Arguments:
|
code » | |||||||||||
![]()
Clears the given matrix to zero.
Arguments:
|
code » | |||||||||||
![]()
Performs a per-component subtraction of the matrices mat0 and mat1,
storing the result into resultMat.
Arguments:
Returns: goog.vec.ArrayType
return resultMat so that operations can be
chained together.
|
code » | |||||||||||
![]()
Transposes the given matrix mat storing the result into resultMat.
Arguments:
Returns: goog.vec.ArrayType
return resultMat so that operations can be
chained together.
|
code » |