|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
Wrap x into [lo, hi) with modulo semantics.
Unlike std::fmod, handles negative values and arbitrary lo correctly. Equivalent to the GLSL mod() applied after shifting by lo.
Example: wrap(-0.1F, 0.F, 1.F) -> 0.9F
Definition at line 218 of file Scalar.hpp.
Referenced by MayaFlux::Kinesis::Discrete::modular_recurrence().
Here is the caller graph for this function: