Skip to main content

sh_rotate

Function sh_rotate 

Source
pub fn sh_rotate(sh: &Sh3, rotation: &Mat3) -> Sh3
Expand description

Rotate SH3 by a rotation matrix.

Uses the exact band-0/1/2 SH rotation formulas. Band 0 is invariant; bands 1 and 2 are rotated using the provided rotation matrix.