Skip to main content

snap

Function snap 

Source
pub fn snap(value: f64) -> f64
Expand description

Snap a coordinate to the nearest grid intersection.