clamp

inline fun clamp(v: Double3, min: Double, max: Double): Double3
inline fun clamp(v: Double3, min: Double3, max: Double3): Double3