FlightGear next
|
A little helper class to update the track if the position has changed. More...
#include <flight.hxx>
Public Member Functions | |
TrackComputer (double &track, double &path, const SGGeod &position) | |
~TrackComputer () | |
A little helper class to update the track if the position has changed.
In the constructor, create a copy of the current position and store references to the position object and the track variable to update. The destructor, called at TrackComputer's end of life/visibility, computes the track if the position has changed.
Definition at line 104 of file flight.hxx.
|
inline |
Definition at line 107 of file flight.hxx.
|
inline |
Definition at line 114 of file flight.hxx.