[−][src]Function nalgebra::wrap
pub fn wrap<T>(val: T, min: T, max: T) -> T where
T: Copy + PartialOrd + AdditiveGroup, Wraps val into the range [min, max] using modular arithmetics.
The range must not be empty.
pub fn wrap<T>(val: T, min: T, max: T) -> T where
T: Copy + PartialOrd + AdditiveGroup, Wraps val into the range [min, max] using modular arithmetics.
The range must not be empty.