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

Aabb(*, mins: types.math.Vec3, maxs: types.math.Vec3)

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

mins : Vec3

The corner with the lowest coordinate on every axis.

maxs : Vec3

The corner with the highest coordinate on every axis.

Quat

Quat(*, x: float, y: float, z: float, w: float)

A double-precision quaternion, holding a rotation.

x : float

y : float

z : float

w : float

Vec3

Vec3(*, x: float, y: float, z: float)

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

x : float

y : float

z : float