DIRECTION_MIN_LEN

Constant DIRECTION_MIN_LEN 

Source
pub const DIRECTION_MIN_LEN: f64 = 1e-12;
Expand description

Smallest vector treated as a direction. Unit: the input’s units (a unit direction, a point difference in model units, or a cross product of two unit axes). 1e-12 sits about four orders above the f64 rounding error of a unit-scale cross product, so a refused vector really is degenerate.