mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 14:07:51 +00:00
28 lines
495 B
C++
28 lines
495 B
C++
#ifndef PLANET_HH
|
|
#define PLANET_HH
|
|
/********************************* TRICK HEADER *******************************
|
|
PURPOSE:
|
|
()
|
|
LIBRARY DEPENDENCY:
|
|
((../src/Planet.cpp))
|
|
PROGRAMMERS:
|
|
(((John M. Penn) () () () ))
|
|
*******************************************************************************/
|
|
|
|
#define EARTH_MASS 5.9721986e24
|
|
#define EARTH_RADIUS 6367500.0
|
|
|
|
class Planet {
|
|
public:
|
|
Planet();
|
|
|
|
double pos[3];
|
|
double mass;
|
|
double radius;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|