Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Bounds-Related Classes
Containers
Controls-Related Classes
Engine-Related Classes
GUI-Related Classes
Node-Related Classes
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Utility Classes

mat3 Class

mat3 Class

Members


mat3 ()

mat3 (const mat3 & m)

Arguments

  • const mat3 & m

mat3 (float v)

Arguments

  • float v

mat3 (const mat2 & m)

Arguments

  • const mat2 & m

mat3 (const mat4 & m)

Arguments

  • const mat4 & m

mat3 (const dmat4 & m)

Arguments

  • const dmat4 & m

mat3 (const quat & q)

Arguments

  • const quat & q

mat3 (const float * m)

Arguments

  • const float * m

mat3 (const vec3 & col0, const vec3 & col1, const vec3 & col2)

Arguments

  • const vec3 & col0
  • const vec3 & col1
  • const vec3 & col2

float * get ()

Return value

void setRotate (const vec3 & axis, float angle)

Arguments

  • const vec3 & axis
  • float angle

mat3 & operator= (const mat3 & m)

Arguments

  • const mat3 & m

Return value

void set (int row, int column, float v)

Arguments

  • int row
  • int column
  • float v

void set (const dmat4 & m)

Arguments

  • const dmat4 & m

void setDiagonal (const vec3 & v)

Arguments

  • const vec3 & v

void sse2 (const __m128 & v)

Arguments

  • const __m128 & v

void setSkewSymmetric (const vec3 & v)

Arguments

  • const vec3 & v

quat getQuat ()

Return value

void set (const mat4 & m)

Arguments

  • const mat4 & m

float & get (int row, int column)

Arguments

  • int row
  • int column

Return value

__m128 sse0 ()

Return value

void sse0 (const __m128 & v)

Arguments

  • const __m128 & v

float operator[] (int i)

Arguments

  • int i

Return value

void sse1 (const __m128 & v)

Arguments

  • const __m128 & v

void get (float * m)

Arguments

  • float * m

void sse (const __m128 & v0, const __m128 & v1, const __m128 & v2)

Arguments

  • const __m128 & v0
  • const __m128 & v1
  • const __m128 & v2

mat3 & operator-= (const mat3 & m)

Arguments

  • const mat3 & m

Return value

vec3 getRow (int row)

Arguments

  • int row

Return value

void setRotateZ (float angle)

Arguments

  • float angle

mat3 operator- ()

Return value

void setColumn (int column, const vec3 & v)

Arguments

  • int column
  • const vec3 & v

void set (const quat & q)

Arguments

  • const quat & q

void setIdentity ()

void setRow (int row, const vec3 & v)

Arguments

  • int row
  • const vec3 & v

float & operator[] (int i)

Arguments

  • int i

Return value

const float * get ()

Return value

mat3 & operator*= (float v)

Arguments

  • float v

Return value

void set (const mat3 & m)

Arguments

  • const mat3 & m

float get (int row, int column)

Arguments

  • int row
  • int column

Return value

vec3 getColumn (int column)

Arguments

  • int column

Return value

mat3 & operator+= (const mat3 & m)

Arguments

  • const mat3 & m

Return value

void setRotateX (float angle)

Arguments

  • float angle

void setRotateY (float angle)

Arguments

  • float angle

void set (const float * m)

Arguments

  • const float * m

__m128 sse1 ()

Return value

void setScale (const vec3 & v)

Arguments

  • const vec3 & v

mat3 & operator*= (const mat3 & m)

Arguments

  • const mat3 & m

Return value

void setZero ()

void set (const mat2 & m)

Arguments

  • const mat2 & m

__m128 sse2 ()

Return value

vec3 getDiagonal ()

Return value

Last update: 2017-07-03