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ยง

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.