AutoMovie API
    Preparing search index...

    Function prepareAxisAngle

    • Build fresh axis-angle rotations on one unchanged borrowed axis. Construction reads no component. First actual use prepares the original scaled direction and length; later angles keep exactly (angleDeg*DEG2RAD)/2, sin(half)/len, component multiplication and cosine. Keep the axis unchanged from first use until releasing the closure.

      Parameters

      • axis: IAutoMovieVector3

        Fixed direction, with the direct entry's zero/nonfinite semantics.

      Returns (angleDeg: number) => IAutoMovieQuaternion

      A lazy reader producing a fresh quaternion for every angle.