math docs
    Preparing search index...

    Function toBuffer

    • Writes the components of a quat to a buffer

      Parameters

      • outBuffer: MutableArrayLike<number>

        The output buffer

      • q: readonly [number, number, number, number]

        The source quaternion

      • startIndex: number

        The starting index in the buffer

      Returns MutableArrayLike<number>

      The output buffer