Expand description
Micro Library for 3D Math
Re-exports§
Modules§
- Float type helpers.
- Scalar type helpers.
- Transformation matrix functions.
- 2D 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 Aliases§
- A 2x2 matrix
- A 3x3 matrix
- A 4x4 matrix
- A 2D vector
- A 3D vector
- A 4D vector
- A column matrix aka vector