 |
|
 |
|
4.9.1. Limit Functions
|
|
|
absolute value
abs( x )
Example:
abs( -3.156 )
abs( Ball.Pitch_X )
abs( vec( 1, -5, 69 ) )
round
round( x )
Example:
round( 3.99 )
round( 3.27 )
truncate
trunc( x )
Example:
trunc( 3.99 )
trunc( -3.67 )
ceiling
ceil( x )
Example:
ceil( 2.55 )
ceil( -3.98 )
floor
floor( x )
Example:
floor( 3.99 )
floor( -3.67 )
clamp
clamp( min, max, parameter )
Example
clamp( 3, 9, 5 )
clamp( 3, 9, -4 )
clamp( 3, 9, 14 )
maximum
max( x ,y , ..., n )
Example:
max( -2, 4 )
max( 7, 6. 5 )
minimum
min( x, y, ..., n )
Example:
min( -2, 4 )
min( 4, 89, 1024, 2 )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|