Function rs_pbrt::core::quaternion::quat_normalize
source · [−]pub fn quat_normalize(q: &Quaternion) -> Quaternion
Expand description
A quaternion can be normalized by dividing by its length.
pub fn quat_normalize(q: &Quaternion) -> Quaternion
A quaternion can be normalized by dividing by its length.