Skip to main content

CLAMP

Constant CLAMP 

Source
pub const CLAMP: f64 = _; // 9.765625E-4f64
Expand description

The share of a grid edge’s length a crossing is held from either end.

It moves a crossing by at most √3 h / 1024, under a five-hundredth of the decimation’s tolerance, and keeps the corners of every triangle at least h / 1024 apart along their edges, far above the rounding of any coordinate a grid of under 2^40 cells along an axis holds, so no triangle’s corners round onto one line.