AutoMovie API
    Preparing search index...

    Function prepareQuaternionSlerpRate

    • Prepare the spatial angular derivative of Quaternion.prepareSlerp's curve.

      Endpoints are copied once and must be the same unit rotations as the actual interpolation's unchanged pair. The returned reader takes dimensionless progress and progress per second, including finite extrapolation, and returns radians per second in the endpoints' common destination frame. Endpoint edits after construction do not change this owned derivative. Nonfinite/zero endpoints, unavailable arc arithmetic, a zero interpolant or unrepresentable derivative return undefined for the caller's fallback. This derivative certifies neither IK nor a different quaternion sampler.

      The same shorter-arc sign and strict shared NLERP threshold are retained. Both branches differentiate the actual unnormalized weighted quaternion r. For q=r/|r|, the radial normalization term contributes no vector component to qdotconj(q), giving omega=2vec(rdot*conj(r))/|r|^2. Thus NLERP keeps its varying angular speed; no constant geodesic rate replaces that branch.

      Returns (share: number, shareRate: number) => IAutoMovieVector3 | undefined