pub fn snap(v: f64, step: f64) -> f64
Snap v to the nearest multiple of step (step <= 0 returns v).
v
step