Vector3CubicHermite method
Calculate cubic hermite interpolation between two vectors and their tangents as described in the GLTF 2.0 specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic
Implementation
@override
Vector3 Vector3CubicHermite(
Vector3 v1,
Vector3 tangent1,
Vector3 v2,
Vector3 tangent2,
double amount,
) => Vector3$.Extract5(
(p) => _ffi.Vector3CubicHermite(
Vector3$.Ref1(v1).asNativePointer<Vector3C>().ref,
Vector3$.Ref2(tangent1).asNativePointer<Vector3C>().ref,
Vector3$.Ref3(v2).asNativePointer<Vector3C>().ref,
Vector3$.Ref4(tangent2).asNativePointer<Vector3C>().ref,
amount,
).toDart(p.asNativePointer()),
);