RigsofRods
Soft-body Physics Simulation
Functions | Variables
ApproxMath.h File Reference
#include "Application.h"
+ Include dependency graph for ApproxMath.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float frand ()
 
float frand_02 ()
 
float frand_11 ()
 
float approx_exp (const float x)
 
float approx_pow2 (const float x)
 
float approx_pow (const float x, const float y)
 
float approx_sqrt (const float y)
 
float approx_invSqrt (const float y)
 
float fast_invSqrt (const float v)
 
float fast_sqrt (const float x)
 
float sign (const float x)
 
Ogre::Vector3 approx_normalise (Ogre::Vector3 v)
 
Ogre::Vector3 fast_normalise (Ogre::Vector3 v)
 
float approx_length (Ogre::Vector3 v)
 
float fast_length (Ogre::Vector3 v)
 

Variables

static int mirand = 1
 

Detailed Description

Author
estama
Date
April 6, 2009, 2:57 AM

Definition in file ApproxMath.h.

Function Documentation

◆ approx_exp()

float approx_exp ( const float  x)
inline

Definition at line 68 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ approx_invSqrt()

float approx_invSqrt ( const float  y)
inline

Definition at line 112 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ approx_length()

float approx_length ( Ogre::Vector3  v)
inline

Definition at line 156 of file ApproxMath.h.

+ Here is the call graph for this function:

◆ approx_normalise()

Ogre::Vector3 approx_normalise ( Ogre::Vector3  v)
inline

Definition at line 146 of file ApproxMath.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ approx_pow()

float approx_pow ( const float  x,
const float  y 
)
inline

Definition at line 91 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ approx_pow2()

float approx_pow2 ( const float  x)
inline

Definition at line 82 of file ApproxMath.h.

◆ approx_sqrt()

float approx_sqrt ( const float  y)
inline

Definition at line 101 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ fast_invSqrt()

float fast_invSqrt ( const float  v)
inline

Definition at line 124 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ fast_length()

float fast_length ( Ogre::Vector3  v)
inline

Definition at line 161 of file ApproxMath.h.

+ Here is the call graph for this function:

◆ fast_normalise()

Ogre::Vector3 fast_normalise ( Ogre::Vector3  v)
inline

Definition at line 151 of file ApproxMath.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fast_sqrt()

float fast_sqrt ( const float  x)
inline

Definition at line 135 of file ApproxMath.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ frand()

float frand ( )
inline

Definition at line 31 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ frand_02()

float frand_02 ( )
inline

Definition at line 43 of file ApproxMath.h.

◆ frand_11()

float frand_11 ( )
inline

Definition at line 55 of file ApproxMath.h.

+ Here is the caller graph for this function:

◆ sign()

float sign ( const float  x)
inline

Definition at line 140 of file ApproxMath.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ mirand

int mirand = 1
static

Definition at line 28 of file ApproxMath.h.