User Guide
Core API
Calculates rotation matrix based on a versor. If length 3, assuming only vector part and will calculate 4th element to make magnitude 1.
versor (array) – 3 or 4 element versor
3x3 rotation matrix
array