Function rin::math::wrap[][src]

pub fn wrap<T>(value: T, from: T, to: T) -> T where
    T: RealField

Wrap a value in the range from..to