Crate mint [−] [src]
Mint - Math interoperability standard types.
Defines basic math types useful for computer graphics via the built-in Rust types.
Designed to serve as an interoperability standard between libraries
that do not necessarily depend on mint directly.
Type Definitions
| ColMatrix2 |
Column-major 2x2 matrix. |
| ColMatrix3 |
Column-major 3x3 matrix. |
| ColMatrix4 |
Column-major 4x4 matrix. |
| ColMatrix2x3 |
Column-major 2x3 matrix. Useful for combinging rotation, scale, and translation in 2D space. |
| ColMatrix3x4 |
Column-major 3x4 matrix. Useful for combinging rotation, scale, and translation in 3D space. |
| DualQuaternion |
Dual quaternion. Useful for representing both translation and rotation, because of better interpolation quality. |
| EulerAngles |
Euler rotation angles in 3D space. |
| Quaternion |
Standard quaternion represented by the scalar and vector parts. Useful for representing rotation in 3D space. |
| RowMatrix2 |
Row-major 2x2 matrix. |
| RowMatrix3 |
Row-major 3x3 matrix. |
| RowMatrix4 |
Row-major 4x4 matrix. |
| RowMatrix3x2 |
Row-major 3x2 matrix. Useful for combinging rotation, scale, and translation in 2D space. |
| RowMatrix4x3 |
Row-major 4x3 matrix. Useful for combinging rotation, scale, and translation in 3D space. |
| Vector2 |
Vector in 2D space. |
| Vector3 |
Vector in 3D space. |
| Vector4 |
Vector in 4D space. Useful as a homogeneous 3D vector representation. |