Crate munum

source · []

Re-exports

pub use float_eq::FloatEq;

Modules

Float type comparison helpers.

Scalar type helpers.

Transformation matrix functions.

Macros

Asserts two floats or float arrays are equal within an epsilon.

Structs

A column-major numeric matrix.

A quaternion in (x, y, z, w) order, where q = w + xi + yj + zk.

Functions

Creates an identity Mat2.

Creates an identity Mat3.

Creates an identity Mat4.

Creates a quaternion from (x, y, z, w).

Creates a Vec2 from (x, y).

Creates a Vec3 from (x, y, z).

Creates a Vec4 from (x, y, z, w).

Type Definitions

A 2x2 matrix

A 3x3 matrix

A 4x4 matrix

A 2D vector

A 3D vector

A 4D vector

A column matrix aka vector