#include <math.h>#include <stdlib.h>#include <sys/types.h>#include <stdio.h>#include <ctype.h>#include <GL/glut.h>#include <plib/ssg.h>#include <tgfclient.h>#include <track.h>#include <car.h>#include <graphic.h>#include <robottools.h>#include "grmain.h"#include "grshadow.h"#include "grskidmarks.h"#include "grcar.h"#include "grcam.h"#include "grscene.h"#include "grboard.h"#include "grssgext.h"#include "grutil.h"
Go to the source code of this file.
Functions | |
| void | grInitSkidmarks (tCarElt *car) |
| initialize the skidmak structure for a car More... | |
| void | grUpdateSkidmarks (tCarElt *car, double t) |
| update if necessary the skidmarks for a car More... | |
| void | grShutdownSkidmarks (void) |
| remove the skidmarks information for a car More... | |
| void | grDrawSkidmarks (tCarElt *car) |
Variables | |
| static ssgSimpleState * | skidState = NULL |
| int | grSkidMaxStripByWheel |
| int | grSkidMaxPointByStrip |
| double | grSkidDeltaT |
| void grDrawSkidmarks | ( | tCarElt * | car | ) |
Definition at line 385 of file grskidmarks.cpp.
| void grInitSkidmarks | ( | tCarElt * | car | ) |
initialize the skidmak structure for a car
Definition at line 59 of file grskidmarks.cpp.

| void grShutdownSkidmarks | ( | void | ) |
remove the skidmarks information for a car
Definition at line 357 of file grskidmarks.cpp.
| 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
Definition at line 144 of file grskidmarks.cpp.
| double grSkidDeltaT |
Definition at line 56 of file grskidmarks.cpp.
| int grSkidMaxPointByStrip |
Definition at line 55 of file grskidmarks.cpp.
| int grSkidMaxStripByWheel |
Definition at line 54 of file grskidmarks.cpp.
|
static |
Definition at line 52 of file grskidmarks.cpp.