Skip to main content

Math

Vectors, quaternions, matrices, rectangles, and math helpers.

Commonly used

All APIs in this topic

Objects and data

APIDescription
mat2A 2x2 matrix.
mat3A 3x3 matrix.
mat4A 4x4 matrix.
MathUtils
quatA quaternion, used to represent rotation.
RectAn axis aligned rectangle.
vec2A two dimensional vector.
vec3A three dimensional vector.
vec4A four dimensional vector.
vec4bA vector containing 4 boolean values.