Description

A 3x3 matrix.

Constructors

  • Returns mat3

    Description

    Creates a new mat3, defaulting to identity values.

Properties

column0: vec3

Description

The first column of the matrix.

column1: vec3

Description

The second column of the matrix.

column2: vec3

Description

The third column of the matrix.

description: string

Description

Returns a string representation of the matrix.

Methods

  • Parameters

    Returns mat3

    Description

    Returns the result of adding the two matrices together.

  • Returns number

    Description

    Returns the determinant of the matrix.

  • Parameters

    Returns mat3

    Description

    Returns the result of dividing the two matrices.

  • Parameters

    Returns boolean

    Description

    Returns whether the two matrices are equal.

  • Returns mat3

    Description

    Returns the inverse of the matrix.

  • Parameters

    Returns mat3

    Description

    Returns the result of multiplying the two matrices.

  • Parameters

    • scalar: number

    Returns mat3

    Description

    Returns the result of scalar multiplying the matrix.

  • Parameters

    Returns mat3

    Description

    Returns the result of subtracting the two matrices.

  • Returns string

    Description

    Returns a string representation of the matrix.

  • Returns mat3

    Description

    Returns the transpose of this matrix.

Generated using TypeDoc