lerp method
Implementation
Vector3 lerp(Vector3 a, Vector3 b, double t) {
return switch (this) {
linear => Vector3Utils.lerp(a, b, t),
step => a,
cubicSpline => throw UnimplementedError(),
};
}
Vector3 lerp(Vector3 a, Vector3 b, double t) {
return switch (this) {
linear => Vector3Utils.lerp(a, b, t),
step => a,
cubicSpline => throw UnimplementedError(),
};
}