int function ( int arg0 , int arg1 , int arg2 ) { int loc0 = ( arg1 > arg2 ) ? arg2 : arg1 ; int loc1 = ( arg1 > arg2 ) ? arg1 : arg2 ; if ( arg0 < loc0 ) { arg0 = loc0 ; } else if ( arg0 > loc1 ) { arg0 = loc1 ; } return arg0 ; }
returns the passed in value if it resides within the specified range inclusive . if not , it will return the closest boundary from the range . the ordering of the boundary values does not matter . concode_field_sep PlaceHolder placeHolder concode_field_sep float smoothstep concode_elem_sep int positiveModulo concode_elem_sep int compareLongs concode_elem_sep int flipSignIf concode_elem_sep float flipSignIf concode_elem_sep float interpolate concode_elem_sep float scaleToFitTargetSize