Expand description
Micro Library for 3D Math
Re-exports§
Modules§
- float
- Float type helpers.
- scalar
- Scalar type helpers.
- transform
- Transformation matrix functions.
- transform2d
- 2D transformation matrix functions.
Macros§
- assert_
float_ eq - Asserts two floats or float arrays are equal within an epsilon.
Structs§
- Matrix
- A column-major numeric matrix.
- Quaternion
- A quaternion in (x, y, z, w) order, where q = w + xi + yj + zk.
Functions§
- mat2
- Creates an identity
Mat2
. - mat3
- Creates an identity
Mat3
. - mat4
- Creates an identity
Mat4
. - quat
- Creates a quaternion from (x, y, z, w).
- vec2
- Creates a
Vec2
from (x, y). - vec3
- Creates a
Vec3
from (x, y, z). - vec4
- Creates a
Vec4
from (x, y, z, w).