UFO: Alien Invasion
Loading...
Searching...
No Matches
mapline_t Struct Reference

A path on the map described by 2D points. More...

#include <cp_aircraft.h>

Collaboration diagram for mapline_t:
Collaboration graph

Data Fields

int numPoints
float distance
vec2_t point [LINE_MAXPTS]

Detailed Description

A path on the map described by 2D points.

Definition at line 39 of file cp_aircraft.h.

Field Documentation

◆ distance

float mapline_t::distance

the distance between two points of the path - total distance is then (distance * (numPoints - 1))

Definition at line 41 of file cp_aircraft.h.

Referenced by AIR_AircraftMakeMove(), AIR_LoadRouteXML(), AIR_SaveRouteXML(), and GEO_CalcLine().

◆ numPoints

◆ point


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