4D matrix More...
Derived from: | None |
Derived by: | None |
Group: | Math (Core) |
#include <ClanLib/core.h>
Class Members:
Construction: | |
Constructs a 4x4 matrix (null) | |
Create a zero matrix. | |
Create the identity matrix. | |
Create a frustum matrix. | |
Create a perspective matrix. | |
Create a ortho matrix. | |
Create a ortho_2d matrix. | |
Create a rotation matrix. | |
Create a scale matrix. | |
Create a translation matrix. | |
Create the "look at" matrix. | |
Multiply 2 matrices. | |
Add 2 matrices. | |
Subtract 2 matrices. | |
Calculate the adjoint (or known as Adjugate or Conjugate Transpose) of a matrix. | |
Calculate the matrix inverse of a matrix. | |
Calculate the transpose of a matrix. |
| |
The matrix (in column-major format) | |
Returns the x coordinate for the point (0,0,0) multiplied with this matrix. | |
Returns the y coordinate for the point (0,0,0) multiplied with this matrix. | |
Returns the z coordinate for the point (0,0,0) multiplied with this matrix. | |
Extract the euler angles (in radians) from a matrix (in column-major format) | |
Get a transformed point from the matrix (in column-major format) |
| |
Multiply this matrix and a specified matrix. | |
Add this matrix and a specified matrix. | |
Subtract this matrix and a specified matrix. | |
Scale this matrix. | |
Translate this matrix. | |
Calculate the matrix determinant of this matrix. | |
Calculate the adjoint (or known as adjugate) of this matrix. | |
Calculate the matrix inverse of this matrix. | |
Calculate the transpose of this matrix. |
| |
Operator that returns the matrix as a array. | |
Operator that returns the matrix as a array. | |
Operator that returns the matrix cell at the given index. | |
Multiplication operator. | |
Addition operator. | |
Subtraction operator. | |
Equality operator. | |
Not-equal operator. |
Detailed description:
These matrix templates are defined for: int (CL_Mat4i), float (CL_Mat4f), double (CL_Mat4d)