Vector3Clamp method
Clamp the components of the vector between min and max values specified by the given vectors
Implementation
@override
Vector3D Vector3Clamp(
Vector3D v,
Vector3D min,
Vector3D max,
) => $.Vector3$.Extract4(
(p) => _ffi.Vector3Clamp(
$.Vector3$.Ref1(v).asNativePointer<Vector3C>().ref,
$.Vector3$.Ref2(min).asNativePointer<Vector3C>().ref,
$.Vector3$.Ref3(max).asNativePointer<Vector3C>().ref,
).toDart(p.asNativePointer()),
);