574
edits
(Second example) |
|||
Line 5: | Line 5: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
var myPos = geo.aircraft_position(); | var myPos = geo.aircraft_position(); | ||
var otherPos = geo.aircraft_position().apply_course_distance(100, | var otherPos = geo.aircraft_position().apply_course_distance(100, 20000);# another plane 20 Km out | ||
# Check for terrain between own aircraft and other: | # Check for terrain between own aircraft and other: |
edits