$search

tgMathlib.h File Reference

#include <math.h>
#include <stdlib.h>
Include dependency graph for tgMathlib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mat3
struct  mat4
struct  quat
struct  vec2
struct  vec3< T >
struct  vec4< T >

Defines

#define DEG2RAD   (PI / 180.0f)
#define RAD2DEG   (180.0f / PI)

Functions

vec3 absolute (const vec3 &v1)
vec3 cross (const vec3 &v1, const vec3 &v2)
unsigned int ilog2 (unsigned int value)
vec4 normalize (const vec4 &v)
vec3 normalize (const vec3 &v)
vec4 saturate (const vec4 &v)
vec3 saturate (const vec3 &v)

Variables

const float epsilon = 1e-6f

Define Documentation

#define DEG2RAD   (PI / 180.0f)

Definition at line 31 of file tgMathlib.h.

#define RAD2DEG   (180.0f / PI)

Definition at line 32 of file tgMathlib.h.


Function Documentation

vec3 absolute ( const vec3 v1  )  [inline]

Definition at line 199 of file tgMathlib.h.

vec3 cross ( const vec3 v1,
const vec3 v2 
) [inline]

Definition at line 191 of file tgMathlib.h.

unsigned int ilog2 ( unsigned int  value  )  [inline]

Definition at line 45 of file tgMathlib.h.

vec4 normalize ( const vec4 v  )  [inline]

Definition at line 291 of file tgMathlib.h.

vec3 normalize ( const vec3 v  )  [inline]

Definition at line 185 of file tgMathlib.h.

vec4 saturate ( const vec4 v  )  [inline]

Definition at line 297 of file tgMathlib.h.

vec3 saturate ( const vec3 v  )  [inline]

Definition at line 207 of file tgMathlib.h.


Variable Documentation

const float epsilon = 1e-6f

Definition at line 43 of file tgMathlib.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:44 2013