1
0
Fork 0

use global D2R, R2D (dumbed down PI instead of math.pi is a bad idea, anyway :-)

This commit is contained in:
mfranz 2008-11-20 11:46:45 +00:00
parent 55c34a0748
commit 084db07606

View file

@ -106,9 +106,6 @@ var RNAV = props.globals.getNode("/instrumentation/rnav",1);
# rho, theta: distance and radial for phantom station
# range, bearing: distance and radial from phantom station
var PI=3.14159265;
var D2R=PI/180;
var R2D=180/PI;
var unnil = func(n) { n == nil ? 0 : n }