torcs - 1.2.2

src/modules/graphic/ssggraph/grskidmarks.h File Reference

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

Included by dependency graph

Go to the source code of this file.

Compounds

struct  tgrSkidmarks
struct  tgrSkidStrip

Defines

#define DELTATSTRIP   0.3f
#define MAXPOINT_BY_STRIP   600
#define MAXSTRIP_BYWHEEL   40
#define DIST_INTERVAL   0.2f
#define SKID_UNUSED   1
#define SKID_BEGIN   2
#define SKID_RUNNING   3
#define SKID_STOPPED   4

Functions

void grInitSkidmarks (tCarElt *car)
 initialize the skidmak structure for a car

void grUpdateSkidmarks (tCarElt *car, double t)
 update if necessary the skidmarks for a car

void grShutdownSkidmarks (void)
 remove the skidmarks information for a car

void grDrawSkidmarks (tCarElt *car)

Variables

int grSkidMaxStripByWheel
int grSkidMaxPointByStrip
double grSkidDeltaT


Define Documentation

#define DELTATSTRIP   0.3f
 

#define DIST_INTERVAL   0.2f
 

#define MAXPOINT_BY_STRIP   600
 

#define MAXSTRIP_BYWHEEL   40
 

#define SKID_BEGIN   2
 

#define SKID_RUNNING   3
 

#define SKID_STOPPED   4
 

#define SKID_UNUSED   1
 


Function Documentation

void grDrawSkidmarks tCarElt car  ) 
 

void grInitSkidmarks tCarElt car  ) 
 

initialize the skidmak structure for a car

void grShutdownSkidmarks void   ) 
 

remove the skidmarks information for a car

void grUpdateSkidmarks tCarElt car,
double  t
 

update if necessary the skidmarks for a car

this is the begining of a skid or the continue of the last one

this is the end of a skid or there is nothing to do


Variable Documentation

double grSkidDeltaT
 

int grSkidMaxPointByStrip
 

int grSkidMaxStripByWheel
 


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