Page logoMath sketchbook

Documentation for rotateMV

Signature

rotateMV(axis, angle)

Description

The rotateMV() function generates a 4x4 matrix that rotates around the given axis by the given angle (in radians). The axis doesn't need to be normalized.

This function assumes the use of MV multiplication order: matrix * vector.

Variants

  • rotateMV(vector, scalar) -> matrix

Examples

See also