std.geom.Mat3.Rotation - nitrologic/monkey2 GitHub Wiki

std::std.geom.std.geom.Mat3.Rotation

Function Rotation:std:std.geom.Mat3( rv:std:std.geom.Vec3<monkey:monkey.types.Double> )
Function Rotation:std:std.geom.Mat3( rx:monkey:monkey.types.Double,ry:monkey:monkey.types.Double,rz:monkey:monkey.types.Double )
Function Rotation:std:std.geom.Mat3( q:std:std.geom.Quat )

Creates a rotation matrix from euler angles or a quat.

For euler angles, the order of rotation is Yaw * Pitch * Roll.