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