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

Abstract set of Euler angles in 3D space. The basis of angles is defined by the generic parameter B.

Standard quaternion represented by the scalar and vector parts. Useful for representing rotation in 3D space. Corresponds to a right-handed rotation matrix.

Enums

Extrinsic rotation around X, then Y, then Z axis.

Extrinsic rotation around Z, then X, then Z axis.

Extrinsic rotation around Z, then Y, then X axis.

Intrinsic rotation around X, then Y, then Z axis.

Intrinsic rotation around Z, then X, then Z axis.

Intrinsic rotation around Z, then Y, then X axis.

Traits

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.