Module despero::math

source ·
Expand description

Structures implementing mathematics

Re-exports

Modules

Structs

  • A quaternion. See the type alias UnitQuaternion = Unit<Quaternion> for a quaternion that may be used as a rotation.
  • A wrapper that ensures the underlying algebraic entity has a unit norm.

Type Definitions

  • A stack-allocated, column-major, 3x3 square matrix.
  • A stack-allocated, column-major, 4x4 square matrix.
  • A statically sized 2-dimensional column point.
  • A statically sized 3-dimensional column point.
  • A 3-dimensional rotation matrix.
  • A unit quaternions. May be used to represent a rotation.
  • A stack-allocated, 2-dimensional column vector.
  • A stack-allocated, 3-dimensional column vector.
  • A stack-allocated, 4-dimensional column vector.