Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Function calculateW

  • Calculates the W component of a quat from the X, Y, and Z components. Assumes that quaternion is 1 unit in length. Any existing W component will be ignored.

    Parameters

    • out: quat

      the receiving quaternion

    • a: ReadonlyQuat

      quat to calculate W component of

    Returns quat

    out

Was this helpful?