Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# clamp

x = Math.Min(Math.Max(x, a), b);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clamp
ADD COMMENT
Topic
Name
9+3 =