Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function slerpSmoothToRef

    • Frame-rate independent slerp based on frame-rate independent lerp.

      Parameters

      • a: Quaternion

        The start quaternion

      • b: Quaternion

        The target quaternion

      • halfLifeSeconds: number

        The half-life of the slerp (in seconds)

      • deltaSeconds: number

        The time delta (in seconds)

      • ref: Quaternion

        The quaternion to store the result in

      Returns Quaternion

      The interpolated quaternion