Corrected speed of light in KM_PER_LY constant. Will break some cel URLs, so a compatibility fix may be necessary.

ver1_5_1
Chris Laurel 2006-09-08 05:54:55 +00:00
parent 0d913ae9c9
commit c2d64689f5
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@
#define SOLAR_ABSMAG 4.83f
#define LN_MAG 1.085736
#define LY_PER_PARSEC 3.26167
#define KM_PER_LY 9466411842000.000
#define KM_PER_LY 9460730472580.8
// Old incorrect value; will be required for cel:// URL compatibility
//#define KM_PER_LY 9466411842000.000
#define KM_PER_AU 149597870.7
#define AU_PER_LY (KM_PER_LY / KM_PER_AU)