Function Clamp

Part of:

package terrain
( clamp < in > < min > < max > )