Skip to content

Class: Matrix3x3f

Functions

NameDescription
.lookAt(eye,center,up)
.new()Constructs a matrix with zero values
.new(value)Constructs a matrix from Matrix4x4f
.newIdentity()Constructs an identity matrix

Methods

NameDescription
:__add(value)
:__div(value)
:__index(index)
:__mul(value)
:__sub(value)
:determinant()
:inverse()
:position()
:quatCast()
:transpose()

Function declarations

Function: lookAt

lua
function Matrix3x3f.lookAt(
    eye,
    center,
    up
) end

Parameters:

Returns:

Function: new

Constructs a matrix with zero values

lua
function Matrix3x3f.new() end

Returns:

Function: new

Constructs a matrix from Matrix4x4f

lua
function Matrix3x3f.new(
    value
) end

Parameters:

  • value (any)

Returns:

Function: newIdentity

Constructs an identity matrix

lua
function Matrix3x3f.newIdentity() end

Returns:

Method declarations

Method: __add

lua
function Matrix3x3f:__add(
    value
) end

Parameters:

  • value (any)

Returns:

Method: __div

lua
function Matrix3x3f:__div(
    value
) end

Parameters:

  • value (any)

Returns:

Method: __index

lua
function Matrix3x3f:__index(
    index
) end

Parameters:

  • index (integer) - The index of the column to retrieve

Returns:

Method: __mul

lua
function Matrix3x3f:__mul(
    value
) end

Parameters:

  • value (any)

Returns:

Method: __sub

lua
function Matrix3x3f:__sub(
    value
) end

Parameters:

  • value (any)

Returns:

Method: determinant

lua
function Matrix3x3f:determinant() end

Returns:

  • number

Method: inverse

lua
function Matrix3x3f:inverse() end

Returns:

Method: position

lua
function Matrix3x3f:position() end

Returns:

Method: quatCast

lua
function Matrix3x3f:quatCast() end

Returns:

Method: transpose

lua
function Matrix3x3f:transpose() end

Returns: