@kognifai/cogsengine
    Preparing search index...

    Function rotate

    • Rotates a mat2d by the given angle

      Parameters

      • out: mat2d

        the receiving matrix

      • a: ReadonlyMat2d

        the matrix to rotate

      • rad: number

        the angle to rotate the matrix by

      Returns mat2d

      out