@kognifai/cogsengine
    Preparing search index...

    Function rotateX

    • Rotates a matrix by the given angle around the X axis

      Parameters

      • out: mat4

        the receiving matrix

      • a: ReadonlyMat4

        the matrix to rotate

      • rad: number

        the angle to rotate the matrix by

      Returns mat4

      out