Documentation ¶
Index ¶
Constants ¶
View Source
const G float64 = 6.674e-20 // km**3 / kg-s**2
gravitational constant
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { Name string X float64 Y float64 Z float64 Vx float64 Vy float64 Vz float64 T float64 // thrust TVx float64 // thrust direction (unit vector) TVy float64 TVz float64 Mass float64 }
celestial body km, sec, kg
Click to show internal directories.
Click to hide internal directories.