Skip to main content

Module math

Module math 

Source
Expand description

Math re-exports (stack.md: glam). Downstream code imports vector/matrix types from here so the math backend is swappable in exactly one place.

Structsยง

IVec2
A 2-dimensional vector.
Mat4
A 4x4 column major matrix.
UVec2
A 2-dimensional vector.
Vec2
A 2-dimensional vector.
Vec3
A 3-dimensional vector.
Vec4
A 4-dimensional vector.