Skip to main content

Module math

Module math 

Source
Expand description

The vectors and matrices bodies use are yog-graphics’ own.

Structs§

Mat4
A 4×4 matrix, column-major: m[col * 4 + row].
Vec3

Functions§

part
ModelPart.translateAndRotate: to the pivot, turned, scaled.
rad
Degrees to radians, for the formats (which are in degrees).