moonlander_gp::num

Function torus

Source
pub fn torus(x: i32, n: i32) -> i32
Expand description

Crop a value to an N-sized torus