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 rotate

  • Rotates a mat2 by the given angle

    Parameters

    • out: mat2

      the receiving matrix

    • a: ReadonlyMat2

      the matrix to rotate

    • rad: number

      the angle to rotate the matrix by

    Returns mat2

    out

Was this helpful?