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

std::std.geom.std.geom.AffineMat4.Rotation

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

Creates a matrix repsenting a rotation form eular angles or a quat.

Order of rotation is Yaw * Pitch * Roll.

The rotation angle is in radians.