Gets the value of the parameter at the given time.
Gets the value of the parameter at the given time.
the value of the parameter
Gets the value of the matrix at the specified translation.
Gets the value of the matrix at the specified translation.
the row of the desired value
the column of the desired value
the desired value
a 16-item array containing the matrix in row-major order, i.
a 16-item array containing the matrix in row-major order, i.e. indices 0-3 are the first row, 4-7 the second row, etc.
Generates the inverse matrix, i.
Generates the inverse matrix, i.e. a matrix that, when left- or right-multiplied with this one, produces the identity matrix.
Use this function to produce a transformation matrix that will undo a given set of transformations.
If this matrix is singular, then an inverse does not exist, so the original matrix will be returned.
Note: this implementation doesn't do anything fancy. It hard-codes the arithmetic for each new matrix value.
the inverse matrix
Produces a new transformation matrix that does all of the previous transformations, and then looks in the specified direction.
Produces a new transformation matrix that does all of the previous transformations, and then looks in the specified direction. In other words, a look-at matrix is left-multiplied to the current matrix.
the direction to look at, relative to the curren translation
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation; positive values rotate counter-clockwise.
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation; positive values rotate counter-clockwise. In other words, a rotation matrix is left-multiplied to the current matrix.
the Euler angles of the rotation; rotation is performed in XYZ order
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive X-axis; positive values rotate counter-clockwise.
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive X-axis; positive values rotate counter-clockwise. In other words, a rotation matrix is left-multiplied to the current matrix.
the radians to rotate counter-clockwise along the +X-axis
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive Y-axis; positive values rotate counter-clockwise.
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive Y-axis; positive values rotate counter-clockwise. In other words, a rotation matrix is left-multiplied to the current matrix.
the radians to rotate counter-clockwise along the +Y-axis
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive Z-axis; positive values rotate counter-clockwise.
Produces a new transformation matrix that does all of the previous transformations, and then does a rotation about the positive Z-axis; positive values rotate counter-clockwise. In other words, a rotation matrix is left-multiplied to the current matrix.
the radians to rotate counter-clockwise along the +Z-axis
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then applies the specified scaling.
Produces a new transformation matrix that does all of the previous transformations, and then applies the specified scaling. In other words, a scaling matrix is left-multiplied to the current matrix.
the amount to scale along each axis
the new transformation matrix
Produces a new transformation matrix that does all of the previous transformations, and then translates in the specified direction.
Produces a new transformation matrix that does all of the previous transformations, and then translates in the specified direction. In other words, a translation matrix is left-multiplied to the current matrix.
the direction to translate in
the new transformation matrix
Generates the transpose matrix, that is, the matrix whose rows are composed of this matrix's columns, and whose columns are composed of this matrix's rows.
Generates the transpose matrix, that is, the matrix whose rows are composed of this matrix's columns, and whose columns are composed of this matrix's rows.
the transpose matrix
Defines a 4x4 matrix.