computeOffaxisRotation

computeOffaxisRotation()
computeOffaxisRotation(axisVector: Point3, degrees: number, out_rotationMatrix: Matrix): Matrix

Computes the rotation matrix defined by rotating around a vector.

Parameters

axisVector: Point3

The vector to rotate around.

degrees: number

The amount to rotate.

out_rotationMatrix: Matrix

The out parameter for the rotation matrix.

Returns: Matrix

The out parameter rotation matrix.