rotateAxis

open fun rotateAxis(degrees: Double, axis: Vector3): Transformation3d

Rotate about the origin around the given axis, the angle is given in degrees.

Imagine a line from (0,0,0) to axis. Grab the line in your right hand, with your thumb outstretched, pointing towards axis (away from the origin). The rotation will then follow the direction of your fingers. This is known as the right hand rule.