torcs - 1.2.2

src/modules/simu/simuv2.sav/SOLID-2.0/include/3D/Basic.h File Reference

#include <math.h>
#include <stdlib.h>

Include dependency graph for Basic.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define Scalar   double

Enumerations

enum  { X = 0, Y = 1, Z = 2, W = 3 }

Functions

Scalar rnd ()
int sgn (Scalar x)
bool eqz (Scalar x)
Scalar min (Scalar x, Scalar y)
Scalar max (Scalar x, Scalar y)
void set_min (Scalar &x, Scalar y)
void set_max (Scalar &x, Scalar y)
Scalar rads (Scalar x)
Scalar degs (Scalar x)

Variables

const Scalar DEGS_PER_RAD = 57.29577951308232286465
const Scalar RADS_PER_DEG = 0.01745329251994329547
const Scalar TWO_PI = 6.28318530717958623200
const Scalar EPSILON = 1.0e-10
const Scalar EPSILON2 = 1.0e-20
const Scalar INFINITY_ = 1.0e50


Define Documentation

#define Scalar   double
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
X 
Y 
Z 
W 


Function Documentation

Scalar degs Scalar  x  )  [inline]
 

bool eqz Scalar  x  )  [inline]
 

Scalar max Scalar  x,
Scalar  y
[inline]
 

Scalar min Scalar  x,
Scalar  y
[inline]
 

Scalar rads Scalar  x  )  [inline]
 

Scalar rnd  )  [inline]
 

void set_max Scalar &  x,
Scalar  y
[inline]
 

void set_min Scalar &  x,
Scalar  y
[inline]
 

int sgn Scalar  x  )  [inline]
 


Variable Documentation

const Scalar DEGS_PER_RAD = 57.29577951308232286465
 

const Scalar EPSILON = 1.0e-10
 

const Scalar EPSILON2 = 1.0e-20
 

const Scalar INFINITY_ = 1.0e50
 

const Scalar RADS_PER_DEG = 0.01745329251994329547
 

const Scalar TWO_PI = 6.28318530717958623200
 


Generated at Thu Feb 26 21:53:32 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.