pub fn clamp_vec3(v: Vec3, min: Vec3, max: Vec3) -> Vec3
Clamp a Vec3 component-wise to given bounds.