Skip to main content

quat_log

Function quat_log 

Source
pub fn quat_log(q: &Quat) -> Vec3
Expand description

Logarithmic map SO(3) → so(3), computed through fp.

The inverse of quat_exp, and likewise identical to tang::Quat::log apart from routing its atan2 through fp::atan2.