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

The aeroplane's position and flight path during a race. More...

#include <airplanestate.h>

Collaboration diagram for AirplaneState:

Public Attributes

s32 instance
s32 trigger
s32 triggerLap
s32 flying
s32 node
s32 nodeCount
f32 scale
Vec3f * pathLeft
Vec3f * pathRight
f32 distance
f32 segmentLength
Vec3f previousDirection
Vec3f direction
Vec3f nextDirection

Detailed Description

The aeroplane's position and flight path during a race.

Member Data Documentation

◆ instance

s32 AirplaneState::instance

The scene instance used to draw the aeroplane.

◆ trigger

s32 AirplaneState::trigger

The trigger that starts a flight.

◆ triggerLap

s32 AirplaneState::triggerLap

The lap on which the flight begins.

◆ flying

s32 AirplaneState::flying

Whether the aeroplane is in flight.

◆ node

s32 AirplaneState::node

The current flight-path node.

◆ nodeCount

s32 AirplaneState::nodeCount

The number of flight-path nodes.

◆ scale

f32 AirplaneState::scale

The scale applied to the scene instance.

◆ pathLeft

Vec3f* AirplaneState::pathLeft

The left edge of the flight path.

◆ pathRight

Vec3f* AirplaneState::pathRight

The right edge of the flight path.

◆ distance

f32 AirplaneState::distance

The distance travelled along the current segment.

◆ segmentLength

f32 AirplaneState::segmentLength

The length of the current path segment.

◆ previousDirection

Vec3f AirplaneState::previousDirection

The direction of the previous segment.

◆ direction

Vec3f AirplaneState::direction

The direction of the current segment.

◆ nextDirection

Vec3f AirplaneState::nextDirection

The direction of the next segment.


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