Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CatmullRom

Hierarchy

  • CatmullRom

Index

Methods

Static getPoint

  • getPoint(points: Array<Vector>, progress: number, m0Tension?: number, m1Tension?: number): Vector
  • Parameters

    • points: Array<Vector>
    • progress: number
    • Default value m0Tension: number = 0.5
    • Default value m1Tension: number = 0.5

    Returns Vector

Static interpolate

  • interpolate(points: Array<Vector>, m0Tension?: number, m1Tension?: number): Function
  • Parameters

    • points: Array<Vector>
    • Default value m0Tension: number = 0.5
    • Default value m1Tension: number = 0.5

    Returns Function