math docs
    Preparing search index...

    Function dampAngle

    • Like damp, but takes the shortest angular path to target (radians), wrapping across the ±π seam rather than unwinding the long way around.

      Parameters

      • state: Spring<number>
      • target: number
      • smoothTime: number
      • delta: number

      Returns Spring<number>