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
DualQuaternion |
Dual quaternion. Useful for representing both translation and rotation, because of better interpolation quality. |
EulerAngles |
Euler rotation angles in 3D space. |
EulerScalePos |
A 3D transform represented by separate euler angles for rotation, uniform scale, and a position vector. |
Matrix2 |
2x2 matrix. |
Matrix3 |
3x3 matrix. |
Matrix4 |
4x4 matrix. |
Matrix2x3 |
2x3 matrix. Useful for combinging rotation, scale, and translation in 2D space, when stored as column-major. |
Matrix3x2 |
3x2 matrix. Useful for combinging rotation, scale, and translation in 2D space, when stored as row-major. |
Matrix3x4 |
3x4 matrix. Useful for combinging rotation, scale, and translation in 3D space, when stored as column major. |
Matrix4x3 |
4x3 matrix. Useful for combinging rotation, scale, and translation in 3D space, when stored as row major. |
QuatScalePos |
A 3D transform represented by separate rotation quaternion, uniform scale, and a position vector. |
Quaternion |
Standard quaternion represented by the scalar and vector parts. Useful for representing rotation 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. |