|
![](/i/fill.gif) |
hey Alain.
Debug_Message this:
clamp(0.65 - 0.75,0.0,0.25) = 0.15
and should be 0.0
by my macro logic:
#macro _clamp(nn,n,m)
#local result = nn;
#if (nn < n) #local result = n;
#end
#if (nn > m) #local result = m;
#end
result
#end
took awhile of messin with stuff that didnt need messin with cause I assumed
clamp() would work.
Post a reply to this message
|
![](/i/fill.gif) |