RotMatrix44

Get a rotation matrix from an axis and an angle

Signatures

  • Paramate.Viewport.RotMatrix44( axis, alpha )

Details

The function generates a 4x4 matrix for the rotation around a given axis by a given angle

Parameters

axis

The axis of the rotation (3-vector).

angle

The angle of the rotation (rad).

Return value

A 4x4 rotation matrix.