SaturnRingLibrary
0.9.1
SGL wrapper
Loading...
Searching...
No Matches
◆
Clamp()
Fxp
SRL::Math::Types::Fxp::Clamp
(
const
Fxp
&
min
,
const
Fxp
&
max
) const
inline
constexpr
Clamps this value between minimum and maximum bounds.
Parameters
min
Minimum allowed value
max
Maximum allowed value
Returns
Clamped value
SRL
Math
Types
Fxp