AutoMovie API
    Preparing search index...

    Variable slerpConst

    slerp: (
        a: IAutoMovieQuaternion,
        b: IAutoMovieQuaternion,
        t: number,
    ) => IAutoMovieQuaternion = ...

    Spherical linear interpolation from a (at t = 0) to b (at t = 1) along the shorter arc.

    When the quaternions' dot product cos θ exceeds 0.9995, so the two rotations differ by less than about 3.6 degrees, it returns normalized linear interpolation to avoid dividing by a vanishing sin θ. A t outside [0, 1] extrapolates along the same arc.

    Type Declaration