Skip to main content

Module math

Module math 

Source
Expand description

Type aliases to select the right vector/rotation types based on the dimension used by the engine.

Type Aliasesยง

AngVector
The angular vector type (in 2D this is a scalar).
IVect
The integer vector type.
Real
The real type (f32 or f64).
Rot
The rotation type (in 2D this is an angle in radians).
Vect
The vector type.