Crate mint

Source
Expand description

Mint - Math interoperability standard types.

Defines basic math types useful for computer graphics. Designed to serve as an interoperability standard between libraries.

Structs§

ColumnMatrix2
ColumnMatrix3
ColumnMatrix4
ColumnMatrix2x3
ColumnMatrix2x4
ColumnMatrix3x2
ColumnMatrix3x4
ColumnMatrix4x2
ColumnMatrix4x3
EulerAngles
Abstract set of Euler angles in 3D space. The basis of angles is defined by the generic parameter B.
Point2
Point3
Quaternion
Standard quaternion represented by the scalar and vector parts. Useful for representing rotation in 3D space. Corresponds to a right-handed rotation matrix.
RowMatrix2
RowMatrix3
RowMatrix4
RowMatrix2x3
RowMatrix2x4
RowMatrix3x2
RowMatrix3x4
RowMatrix4x2
RowMatrix4x3
Vector2
Vector3
Vector4

Enums§

ExtraXYZ
Extrinsic rotation around X, then Y, then Z axis.
ExtraZXZ
Extrinsic rotation around Z, then X, then Z axis.
ExtraZYX
Extrinsic rotation around Z, then Y, then X axis.
IntraXYZ
Intrinsic rotation around X, then Y, then Z axis.
IntraZXZ
Intrinsic rotation around Z, then X, then Z axis.
IntraZYX
Intrinsic rotation around Z, then Y, then X axis.

Traits§

IntoMint
Defines which mint type a given type is associated with. This trait enables converting a type into its mint equivalent without having to name the mint type.