clamp

fun clamp(value: Float, min: Float, max: Float): Float