Public Member Functions | Public Attributes
mat3 Struct Reference

#include <tgMathlib.h>

List of all members.

Public Member Functions

float det () const
void fromAngleAxis (float angle, const vec3 &axis)
void fromRotVector (const vec3 &r)
void getAxisAngle (vec3 &axis, float &angle)
void identity ()
mat3 inverse () const
 mat3 ()
 mat3 (const float *m)
 mat3 (const mat3 &m)
 mat3 (const mat4 &m)
 operator const float * () const
 operator float * ()
vec3 operator* (const vec3 &v) const
vec4 operator* (const vec4 &v) const
mat3 operator* (float f) const
mat3 operator* (const mat3 &m) const
mat3operator*= (float f)
mat3operator*= (const mat3 &m)
mat3 operator+ (const mat3 &m) const
mat3operator+= (const mat3 &m)
mat3 operator- (const mat3 &m) const
mat3operator-= (const mat3 &m)
float & operator[] (int i)
float operator[] (int i) const
void orthonormalize ()
void rotate (const vec3 &axis, float angle)
void rotate (float x, float y, float z, float angle)
void rotate_x (float angle)
void rotate_y (float angle)
void rotate_z (float angle)
void scale (const vec3 &v)
void scale (float x, float y, float z)
mat3 transpose () const
void zero ()

Public Attributes

float mat [9]

Detailed Description

Definition at line 317 of file tgMathlib.h.


Constructor & Destructor Documentation

mat3::mat3 ( ) [inline]

Definition at line 319 of file tgMathlib.h.

mat3::mat3 ( const float *  m) [inline]

Definition at line 324 of file tgMathlib.h.

mat3::mat3 ( const mat3 m) [inline]

Definition at line 329 of file tgMathlib.h.

mat3::mat3 ( const mat4 m) [inline]

Definition at line 853 of file tgMathlib.h.


Member Function Documentation

float mat3::det ( ) const [inline]

Definition at line 404 of file tgMathlib.h.

void mat3::fromAngleAxis ( float  angle,
const vec3 axis 
) [inline]

Definition at line 508 of file tgMathlib.h.

void mat3::fromRotVector ( const vec3 r) [inline]

Definition at line 527 of file tgMathlib.h.

void mat3::getAxisAngle ( vec3 axis,
float &  angle 
) [inline]

Definition at line 534 of file tgMathlib.h.

void mat3::identity ( ) [inline]

Definition at line 434 of file tgMathlib.h.

mat3 mat3::inverse ( ) const [inline]

Definition at line 414 of file tgMathlib.h.

mat3::operator const float * ( ) const [inline]

Definition at line 392 of file tgMathlib.h.

mat3::operator float * ( ) [inline]

Definition at line 391 of file tgMathlib.h.

vec3 mat3::operator* ( const vec3 v) const [inline]

Definition at line 336 of file tgMathlib.h.

vec4 mat3::operator* ( const vec4 v) const [inline]

Definition at line 343 of file tgMathlib.h.

mat3 mat3::operator* ( float  f) const [inline]

Definition at line 351 of file tgMathlib.h.

mat3 mat3::operator* ( const mat3 m) const [inline]

Definition at line 358 of file tgMathlib.h.

mat3& mat3::operator*= ( float  f) [inline]

Definition at line 386 of file tgMathlib.h.

mat3& mat3::operator*= ( const mat3 m) [inline]

Definition at line 387 of file tgMathlib.h.

mat3 mat3::operator+ ( const mat3 m) const [inline]

Definition at line 371 of file tgMathlib.h.

mat3& mat3::operator+= ( const mat3 m) [inline]

Definition at line 388 of file tgMathlib.h.

mat3 mat3::operator- ( const mat3 m) const [inline]

Definition at line 378 of file tgMathlib.h.

mat3& mat3::operator-= ( const mat3 m) [inline]

Definition at line 389 of file tgMathlib.h.

float& mat3::operator[] ( int  i) [inline]

Definition at line 394 of file tgMathlib.h.

float mat3::operator[] ( int  i) const [inline]

Definition at line 395 of file tgMathlib.h.

void mat3::orthonormalize ( ) [inline]

Definition at line 493 of file tgMathlib.h.

void mat3::rotate ( const vec3 axis,
float  angle 
) [inline]

Definition at line 439 of file tgMathlib.h.

void mat3::rotate ( float  x,
float  y,
float  z,
float  angle 
) [inline]

Definition at line 458 of file tgMathlib.h.

void mat3::rotate_x ( float  angle) [inline]

Definition at line 461 of file tgMathlib.h.

void mat3::rotate_y ( float  angle) [inline]

Definition at line 469 of file tgMathlib.h.

void mat3::rotate_z ( float  angle) [inline]

Definition at line 477 of file tgMathlib.h.

void mat3::scale ( const vec3 v) [inline]

Definition at line 485 of file tgMathlib.h.

void mat3::scale ( float  x,
float  y,
float  z 
) [inline]

Definition at line 490 of file tgMathlib.h.

mat3 mat3::transpose ( ) const [inline]

Definition at line 397 of file tgMathlib.h.

void mat3::zero ( ) [inline]

Definition at line 429 of file tgMathlib.h.


Member Data Documentation

float mat3::mat[9]

Definition at line 542 of file tgMathlib.h.


The documentation for this struct was generated from the following file:


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12