Skip to main content

perpendiculars

Function perpendiculars 

pub fn perpendiculars(axis: Vec3) -> (Vec3, Vec3)
Expand description

A stable pair of unit axes perpendicular to axis and to each other.

Any perpendicular pair would do for measuring an angular difference or for sweeping a ring; what matters is that the same axis always yields the same pair, so neither the measured angle nor the drawn geometry jitters between frames.