From 084db07606197f9b3afaa51c43cc07e43e580aa2 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 20 Nov 2008 11:46:45 +0000 Subject: [PATCH] use global D2R, R2D (dumbed down PI instead of math.pi is a bad idea, anyway :-) --- Aircraft/Instruments-3d/kns80/KNS80.nas | 3 --- 1 file changed, 3 deletions(-) diff --git a/Aircraft/Instruments-3d/kns80/KNS80.nas b/Aircraft/Instruments-3d/kns80/KNS80.nas index 7548ae55e..3db2c8730 100644 --- a/Aircraft/Instruments-3d/kns80/KNS80.nas +++ b/Aircraft/Instruments-3d/kns80/KNS80.nas @@ -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 }