Method b3Clamp
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Clamp(Vector3, Vector3, Vector3)
Clamps a vector component-wise to a range.
public static Vector3 b3Clamp(Vector3 a, Vector3 lower, Vector3 upper)Parameters
Returns
- Vector3
-
The clamped vector.