Skip to main content

Mat3

Client Server

Constructors

Mat3()

Mat3(number)

Mat3(number, number, number, number, number, number, number, number, number)

Mat3(Vec3, Vec3, Vec3)

Mat3(Vec3, Vec3, Vec3i)

Mat3(Vec3, Vec3i, Vec3)

Mat3(Vec3, Vec3i, Vec3i)

Mat3(Vec3i, Vec3, Vec3)

Mat3(Vec3i, Vec3, Vec3i)

Mat3(Vec3i, Vec3i, Vec3)

Mat3(Vec3i, Vec3i, Vec3i)

Mat3(Mat3)

Mat3(Mat4)

Mat3(Quat)

Metamethods

Vec3 __index(Mat3, integer)

nil __newindex(Mat3, integer, Vec3)

Mat3 __add(Mat3, Mat3)

Mat3 __add(Mat3, number)

Mat3 __add(number, Mat3)

Mat3 __sub(Mat3, Mat3)

Mat3 __sub(Mat3, number)

Mat3 __sub(number, Mat3)

Mat3 __mul(Mat3, Mat3)

Mat3 __mul(Mat3, number)

Mat3 __mul(number, Mat3)

Vec3 __mul(Vec3, Mat3)

Mat3 __div(Mat3, Mat3)

Mat3 __div(Mat3, number)

Mat3 __div(number, Mat3)

Vec3 __div(Vec3, Mat3)

Mat3 __unm(Mat3)

boolean __eq(Mat3, Mat3)

Methods

number GetDeterminant()

Mat3 Transpose()

Mat3 GetTransposed()

Mat3 Invert()

Mat3 GetInverted()

boolean IsIdentity(number)

boolean IsZero()

boolean IsSingular()

boolean IsAnyNaN()

Properties

Vec3 xaxis

Vec3 yaxis

Vec3 zaxis

Vec3 row1

Vec3 row2

Vec3 row3