Skip to content

class_matrix3

reduz edited this page Feb 23, 2014 · 10 revisions

Matrix3

Brief Description

3x3 matrix datatype.

Member Functions

Member Variables

Description

3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a transform.

Member Function Description

  • Matrix3 orthonormalized ( ) \ Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error).
  • real tdotx ( Vector3 with ) \ Transposed dot product with the x axis of the matrix.
  • real tdoty ( Vector3 with ) \ Transposed dot product with the y axis of the matrix.
  • real tdotz ( Vector3 with ) \ Transposed dot product with the z axis of the matrix.
  • void Matrix3 ( Quat from ) \ Create a matrix from 3 axis vectors.

Clone this wiki locally