SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Clamp()

Fxp SRL::Math::Types::Fxp::Clamp ( const Fxp & min,
const Fxp & max ) const
inlineconstexpr

Clamps this value between minimum and maximum bounds.

Parameters
minMinimum allowed value
maxMaximum allowed value
Returns
Clamped value