coastline 0.0.4
Loading...
Searching...
No Matches
TrackSpecial Struct Reference

A special object of a track. More...

#include <track.h>

Collaboration diagram for TrackSpecial:

Public Attributes

union { 
   s32   instance 
   Vec3f *   path 
} target
union { 
   f32   spinAngle 
   s32   pathLength 
} param
u8 type

Detailed Description

A special object of a track.

Member Data Documentation

◆ instance

s32 TrackSpecial::instance

The index of the placed model.

◆ path

Vec3f* TrackSpecial::path

The points of an edge of the path of the airplane, one for each node.

◆ [union]

union { ... } TrackSpecial::target

The placed model, or for the path of the airplane its points.

◆ spinAngle

f32 TrackSpecial::spinAngle

The angle a spinning model turns each frame, in degrees.

◆ pathLength

s32 TrackSpecial::pathLength

The number of nodes of the path of the airplane.

◆ [union]

union { ... } TrackSpecial::param

The angle of a spinning model, or the length of the path.

◆ type

u8 TrackSpecial::type

The kind, by the TRACK_SPECIAL_ values.


The documentation for this struct was generated from the following file: