Value at column 0 row 0 of the matrix.
Value at column 0 row 1 of the matrix.
Value at column 0 row 2 of the matrix.
Value at column 0 row 3 of the matrix.
Value at column 1 row 0 of the matrix.
Value at column 1 row 1 of the matrix.
Value at column 1 row 2 of the matrix.
Value at column 1 row 3 of the matrix.
Value at column 2 row 0 of the matrix.
Value at column 2 row 1 of the matrix.
Value at column 2 row 2 of the matrix.
Value at column 2 row 3 of the matrix.
Value at column 3 row 0 of the matrix.
Value at column 3 row 1 of the matrix.
Value at column 3 row 2 of the matrix.
Value at column 3 row 3 of the matrix.
Adds the current matrix and another matrix to the current matrix.
the second operand
Clone a new matrix from the current matrix.
Calculates the determinant of the current matrix.
当前矩阵的行列式。
Returns whether the specified matrices are approximately equal.
Comparative matrix
The error allowed. It`s should be a non-negative number.
Returns true' when the elements of both matrices are equal; otherwise returns
false'.
Resets the current matrix from the given quaternion.
Rotation quaternion
this
set the current matrix to an identity matrix.
this
Inverts the current matrix. When matrix is not invertible the matrix will be set to zeros.
Multiply the current matrix with another matrix.
the second operand
Multiply each element of the current matrix by a scalar number.
amount to scale the matrix's elements by
Rotates the current matrix by the given angle around the given axis
Angle of rotation (in radians)
Axis of rotation
Multiply the current matrix with a scale vector.
vector to scale by
Sets the matrix with another one's value.
Specified matrix.
this
Set the matrix with values of all elements
this
Returns whether the specified matrices are equal.
Comparative matrix
Returns true' when the elements of both matrices are equal; otherwise returns
false'.
Subtracts another matrix from the current matrix.
the second operand
Returns a string representation of a matrix.
当前矩阵的字符串表示。
Translate the current matrix by the given vector
vector to translate by
Transposes the current matrix.
Adds two matrices and save the results to out matrix
Copy a matrix into the out matrix
Calculates the determinant of a matrix
Returns whether the specified matrices are approximately equal.
Generates or sets a matrix with a flat array
Array Start Offset
Calculates the matrix representing a rotation around the X axis
Calculates the matrix representing a rotation around the Y axis
Calculates the matrix representing a rotation around the Z axis
Calculates the matrix representing the given frustum
The X coordinate of the left side of the near projection plane in view space.
The X coordinate of the right side of the near projection plane in view space.
The Y coordinate of the bottom side of the near projection plane in view space.
The Y coordinate of the top side of the near projection plane in view space.
Z distance to the near plane from the origin in view space.
Z distance to the far plane from the origin in view space.
return an identity matrix.
Calculates the inverse transpose of a matrix and save the results to out matrix
Inverts a matrix. When matrix is not invertible the matrix will be set to zeros.
Calculates the matrix with the view point information, given by eye position, target center and the up vector. Note that center to eye vector can't be zero or parallel to the up vector
The source point.
The target point.
The vector describing the up direction.
Multiply two matrices and save the results to out matrix
Multiply each element of a matrix by a scalar number and save the results to out matrix
Adds two matrices after multiplying each element of the second operand by a scalar number. And save the results to out matrix.
Calculates orthogonal projection matrix
Left-side x-coordinate.
Right-side x-coordinate.
Bottom y-coordinate.
Top y-coordinate.
Near depth clipping plane value.
Far depth clipping plane value.
Calculates perspective projection matrix
Aspect ratio
Near depth clipping plane value.
Far depth clipping plane value.
Transform a matrix with a given angle around X axis and save the results to the out matrix
Angle of rotation (in radians)
Transform a matrix with a given angle around Y axis and save the results to the out matrix
Angle of rotation (in radians)
Transform a matrix with a given angle around Z axis and save the results to the out matrix
Angle of rotation (in radians)
Sets a matrix with the given values and save the results to out matrix
Returns whether the specified matrices are equal.
Subtracts matrix b from matrix a and save the results to out matrix
Transform a matrix object to a flat array
Array Start Offset
Transposes a matrix and save the results to out matrix
Generated using TypeDoc
Mathematical 4x4 matrix.