vector.clamp

Applies math.clamp() to every component of the input vector.

Parameters

vec: vector
min: vector
max: vector

Returns