Skip to content

math

Vectors, quaternions, and axis-aligned bounds.

0 functions / 3 types

Index

TypeDescription
AabbAn axis-aligned bounding box in double precision, given by two opposite corners.
QuatA double-precision quaternion, holding a rotation.
Vec3A double-precision 3-vector, holding a position, a direction or an extent.

Aabb

An axis-aligned bounding box in double precision, given by two opposite corners.

maxs : MathVec3

The corner with the highest coordinate on every axis.

mins : MathVec3

The corner with the lowest coordinate on every axis.

Quat

A double-precision quaternion, holding a rotation.

w : number

x : number

y : number

z : number

Vec3

A double-precision 3-vector, holding a position, a direction or an extent.

x : number

y : number

z : number