Interface VectorInterpolation

All Known Implementing Classes:
BezierInterpolation, CatmullRomInterpolation, LinearInterpolation, StepInterpolation

@Internal public interface VectorInterpolation
Interpolator
  • Method Details

    • interpolate

      @NotNull @NotNull org.joml.Vector3f interpolate(@NotNull @NotNull List<VectorPoint> points, int p2Index, float time)
      Interpolates vector
      Parameters:
      points - points
      p2Index - p2 index
      time - destination time
      Returns:
      interpolated vector
    • defaultInterpolation

      @NotNull static @NotNull VectorInterpolation defaultInterpolation()
      Gets default interpolator
      Returns:
      default interpolator