20,741
edits
| Line 178: | Line 178: | ||
* waypoint_distance (computes the distance between to waypoints) | * waypoint_distance (computes the distance between to waypoints) | ||
The '''FGWaypoint''' class would need to be extended to help with the calculation of other types of waypoints related to VNAV. To add a stub for a new waypoint named '''waypoint_custom''', these would be the required changes: | The '''FGWaypoint''' class would need to be extended to help with the calculation of other types of waypoints related to VNAV. To add a stub for a new waypoint named '''waypoint_custom''', these would be the required changes (lacking any implementation in FGWaypoint::Run() ): | ||
<syntaxhighlight lang="diff"> | <syntaxhighlight lang="diff"> | ||