mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 06:27:49 +00:00
28 lines
497 B
C++
28 lines
497 B
C++
|
#ifndef _PLANET_H_
|
||
|
#define _PLANET_H_
|
||
|
/********************************* 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
|