use global D2R, R2D (dumbed down PI instead of math.pi is a bad idea, anyway :-)
This commit is contained in:
parent
55c34a0748
commit
084db07606
1 changed files with 0 additions and 3 deletions
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Reference in a new issue