RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Function rotate

    • Rotates a mat3 by the given angle

      Parameters

      • out: mat3

        the receiving matrix

      • a: ReadonlyMat3

        the matrix to rotate

      • rad: number

        the angle to rotate the matrix by

      Returns mat3

      out