18 lines
340 B
C
18 lines
340 B
C
|
|
#ifndef __rockflight_h__
|
||
|
|
#define __rockflight_h__
|
||
|
|
|
||
|
|
|
||
|
|
/* universal gravitational constant */
|
||
|
|
#define UGC 6.672e-11
|
||
|
|
/* earth angular velocity */
|
||
|
|
#define WE 7.27e-5
|
||
|
|
/* square of earth angular velocity */
|
||
|
|
#define WE2 5.28529e-9
|
||
|
|
/* earth mass */
|
||
|
|
#define ME 5.98e24
|
||
|
|
|
||
|
|
/* earth radius */
|
||
|
|
#define EARTH_RAD 6.3567668e6
|
||
|
|
|
||
|
|
#endif __rockflight_h__
|