Update for another nasal::Context change
This commit is contained in:
parent
9054a51dd3
commit
40503f3410
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ static naRef f_courseAndDistance(nasal::CallContext ctx)
|
||||||
double course, course2, d;
|
double course, course2, d;
|
||||||
SGGeodesy::inverse(from, to, course, course2, d);
|
SGGeodesy::inverse(from, to, course, course2, d);
|
||||||
|
|
||||||
return ctx.newVector(course, d * SG_METER_TO_NM);
|
return ctx.to_nasal_vec(course, d * SG_METER_TO_NM);
|
||||||
}
|
}
|
||||||
|
|
||||||
static naRef f_sortByRange(nasal::CallContext ctx)
|
static naRef f_sortByRange(nasal::CallContext ctx)
|
||||||
|
|
Loading…
Reference in a new issue