Expose a Nasal FP method under a better name
Match the C++ name for this, not sure why I ever though pathGeod was a good name for this.
This commit is contained in:
parent
cd5a0ffe0b
commit
736485ab76
1 changed files with 4 additions and 0 deletions
|
@ -2096,7 +2096,11 @@ naRef initNasalFlightPlan(naRef globals, naContext c)
|
|||
hashset(c, flightplanPrototype, "cleanPlan", naNewFunc(c, naNewCCode(c, f_flightplan_clearPlan)));
|
||||
hashset(c, flightplanPrototype, "clearWPType", naNewFunc(c, naNewCCode(c, f_flightplan_clearWPType)));
|
||||
hashset(c, flightplanPrototype, "clone", naNewFunc(c, naNewCCode(c, f_flightplan_clone)));
|
||||
|
||||
hashset(c, flightplanPrototype, "pathGeod", naNewFunc(c, naNewCCode(c, f_flightplan_pathGeod)));
|
||||
// this is a clearer name than pathGeod
|
||||
hashset(c, flightplanPrototype, "pointAlongRoute", naNewFunc(c, naNewCCode(c, f_flightplan_pathGeod)));
|
||||
|
||||
hashset(c, flightplanPrototype, "finish", naNewFunc(c, naNewCCode(c, f_flightplan_finish)));
|
||||
hashset(c, flightplanPrototype, "activate", naNewFunc(c, naNewCCode(c, f_flightplan_activate)));
|
||||
hashset(c, flightplanPrototype, "indexOfWP", naNewFunc(c, naNewCCode(c, f_flightplan_indexOfWp)));
|
||||
|
|
Loading…
Reference in a new issue