1. NAME▲
clamp_t - return a value clamped to a given range using a given type
2. SYNOPSIS ▲
clamp_t( type , val , min , max );
3. ARGUMENTS ▲
type
    the type of variable to use
val
    current value
min
    minimum allowable value
max
    maximum allowable value
4. DESCRIPTION ▲
This macro does no typechecking and uses temporary variables of type AqtypeAq to make all the comparisons.
5. COPYRIGHT ▲