User Tools

Site Tools


wiki:matrix4

Table of Contents

Matrix4

Matrix4 is a global meta-table composed of some functions to get and manipulate data.

Data

Use Get(Matrix4, number, number) function to access any data of the Matrix4

Functions

  • new()
  • new(number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number)
  • IsIdentity(Matrix4)
  • Determinant(Matrix4)
  • Transpose(Matrix4)
  • Cofactor(Matrix4)
  • Minor(Matrix4) FIXME
  • Inverse(Matrix4)
  • Translation(Vector3)
  • Translate(Matrix4, Vector3)
  • RotationOnAxisX(number)
  • RotatenOnAxisX(Matrix4, number)
  • RotationOnAxisY(number)
  • RotatenOnAxisY(Matrix4, number)
  • RotationOnAxisZ(number)
  • RotatenOnAxisZ(Matrix4, number)
  • RotationYXZ(number)
  • RotatenYXZ(Matrix4, number)
  • Scaling(Vector3)
  • Scale(Matrix4, Vector3)
  • GetRow(Matrix4, number)
  • GetColumn(Matrix4, number)
  • CreatePerspective(number, number, number, number)
  • CreateView(number, number, number, number, number, number, number, number, number)
  • CreateFrustum(number, number, number, number, number, number)
  • Get(Matrix4, number, number)
  • Set(Matrix4, number, number, number)

Operators

  • __unm(Vector3)
  • __add(Matrix4, Matrix4)
  • __sub(Matrix4, Matrix4)
  • __sub(Matrix4, number)
  • __mul(Matrix4, number)
  • __mul(Matrix4, Vector4)
  • __mul(Matrix4, Matrix4)
  • __div(Matrix4, number)
  • __div(Matrix4, FMatrix4)
  • __tostring(Matrix4)
wiki/matrix4.txt ยท Last modified: 2019/05/07 17:45 (external edit)