XPPlanes
X-Plane plugin to display additional planes based on network data
Macros | Functions
FlightData.cpp File Reference

Position, attitude, and configuration data that drives the planes' display. More...

#include "XPPlanes.h"

Macros

#define NAN2Z(v)   if (std::isnan(v)) v = 0.0f;
 
#define NAN2CPY(v)   if (std::isnan(v)) v = o.v;
 

Functions

bool FlightDataStartup ()
 Initialize the FlightData module. More...
 
void FlightDataShutdown ()
 Shutdown the FlightData module. More...
 

Detailed Description

Position, attitude, and configuration data that drives the planes' display.

This data is passed from the network thread to the main thread.

Author
Birger Hoppe

Macro Definition Documentation

◆ NAN2CPY

#define NAN2CPY (   v)    if (std::isnan(v)) v = o.v;

◆ NAN2Z

#define NAN2Z (   v)    if (std::isnan(v)) v = 0.0f;

Function Documentation

◆ FlightDataShutdown()

void FlightDataShutdown ( )

Shutdown the FlightData module.

◆ FlightDataStartup()

bool FlightDataStartup ( )

Initialize the FlightData module.