Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Clamp() [1/2]

static Half INumber< Half >. System.Half.Clamp ( Half value,
Half min,
Half max )
inlinestatic

Definition at line 1042 of file Half.cs.

1043 {
1044 return (Half)Math.Clamp((float)value, (float)min, (float)max);
1045 }
Half(ushort value)
Definition Half.cs:78

References System.Math.Clamp(), and System.value.