Crate munum

source ·
Expand description

Micro Library for 3D Math

Re-exports§

Modules§

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 Aliases§