Clamps the source value to the range specified by the floor and ceiling values.
static float64 ClampFloat64( float64 src, float64 floor, float64 ceiling )
Parameter Type | Parameter Name | Documentation |
---|---|---|
float64 | src | The source value. |
float64 | floor | The minimum value. |
float64 | ceiling | The maximum value. |
None published. Please look for an example in the Simdify Scripting Language code base.