ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <zmath.h>

List of all members.

Public Member Functions

 Matrix4 ()
bool isIdentity () const
Matrix4 operator+ (const Matrix4 &b) const
Matrix4 operator- (const Matrix4 &b) const
Matrix4 operator* (const Matrix4 &b) const
Matrix4operator*= (const Matrix4 &b)
void scale (float x, float y, float z)
void translate (float x, float y, float z)
void identity ()
void rotation (float t, int)
void invert ()
void transpose ()
Matrix4 transpose () const
Matrix4 inverseOrtho () const
Matrix4 inverse () const
void transform (const Vector3 &vector, Vector3 &out) const
void transform3x3 (const Vector3 &vector, Vector3 &out) const
void transform3x3 (const Vector4 &vector, Vector3 &out) const
void transform3x4 (const Vector4 &vector, Vector4 &out) const
void transform (const Vector4 &vector, Vector4 &out) const

Static Public Member Functions

static Matrix4 frustum (float left, float right, float bottom, float top, float nearp, float farp)

Public Attributes

float _m [4][4]

Detailed Description

Definition at line 164 of file zmath.h.


Constructor & Destructor Documentation

TinyGL::Matrix4::Matrix4 (  )  [inline]

Definition at line 166 of file zmath.h.


Member Function Documentation

Matrix4 TinyGL::Matrix4::frustum ( float  left,
float  right,
float  bottom,
float  top,
float  nearp,
float  farp 
) [static]

Definition at line 308 of file zmath.cpp.

void TinyGL::Matrix4::identity (  ) 

Definition at line 182 of file zmath.cpp.

Matrix4 TinyGL::Matrix4::inverse (  )  const

Definition at line 263 of file zmath.cpp.

Matrix4 TinyGL::Matrix4::inverseOrtho (  )  const

Definition at line 239 of file zmath.cpp.

void TinyGL::Matrix4::invert (  ) 

Definition at line 304 of file zmath.cpp.

bool TinyGL::Matrix4::isIdentity (  )  const

Definition at line 288 of file zmath.cpp.

Matrix4 TinyGL::Matrix4::operator* ( const Matrix4 b  )  const [inline]

Definition at line 190 of file zmath.h.

Matrix4& TinyGL::Matrix4::operator*= ( const Matrix4 b  )  [inline]

Definition at line 203 of file zmath.h.

Matrix4 TinyGL::Matrix4::operator+ ( const Matrix4 b  )  const [inline]

Definition at line 170 of file zmath.h.

Matrix4 TinyGL::Matrix4::operator- ( const Matrix4 b  )  const [inline]

Definition at line 180 of file zmath.h.

void TinyGL::Matrix4::rotation ( float  t,
int  u 
)

Definition at line 270 of file zmath.cpp.

void TinyGL::Matrix4::scale ( float  x,
float  y,
float  z 
)

Definition at line 335 of file zmath.cpp.

void TinyGL::Matrix4::transform ( const Vector3 vector,
Vector3 out 
) const [inline]

Definition at line 231 of file zmath.h.

void TinyGL::Matrix4::transform ( const Vector4 vector,
Vector4 out 
) const [inline]

Definition at line 259 of file zmath.h.

void TinyGL::Matrix4::transform3x3 ( const Vector4 vector,
Vector3 out 
) const [inline]

Definition at line 245 of file zmath.h.

void TinyGL::Matrix4::transform3x3 ( const Vector3 vector,
Vector3 out 
) const [inline]

Definition at line 238 of file zmath.h.

void TinyGL::Matrix4::transform3x4 ( const Vector4 vector,
Vector4 out 
) const [inline]

Definition at line 252 of file zmath.h.

void TinyGL::Matrix4::translate ( float  x,
float  y,
float  z 
)

Definition at line 328 of file zmath.cpp.

void TinyGL::Matrix4::transpose (  ) 

Definition at line 216 of file zmath.cpp.

Matrix4 TinyGL::Matrix4::transpose (  )  const

Definition at line 190 of file zmath.cpp.


Member Data Documentation

float TinyGL::Matrix4::_m[4][4]

Definition at line 266 of file zmath.h.


The documentation for this class was generated from the following files:


Generated on Sat Mar 16 2019 05:07:17 for ResidualVM by doxygen 1.7.1
curved edge   curved edge