TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
Track Structure

This is the tracks structure definition. More...

Collaboration diagram for Track Structure:

Files

file  track.h
 Track Structure and Track Loader Module Definition.

Classes

struct  trackSeg
 Track segment (tTrackSeg) The segments can be straights (type TR_STR): (the track goes from the right to the left) More...
struct  tTrack
 Track structure. More...

Typedefs

typedef struct trackSeg tTrackSeg
 Track segment (tTrackSeg) The segments can be straights (type TR_STR): (the track goes from the right to the left)

Detailed Description

This is the tracks structure definition.


tTrack is the main track structure.
trackSeg is the segment structure.

Typedef Documentation

◆ tTrackSeg

typedef struct trackSeg tTrackSeg

Track segment (tTrackSeg) The segments can be straights (type TR_STR): (the track goes from the right to the left)

Or can be turn segments (type TR_RGT or TR_LFT): (the track goes from the left to the right)

The reference angle is the orientation of the first segment of the track.