|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Classes | |
| struct | Atmosphere |
| struct | Body |
| class | ConcatIter |
| class | ConcatView |
| struct | DirtyOrbit |
| struct | EndIter |
| struct | ExpandedIter |
| struct | ExpandedIter< R, Ranges... > |
| struct | ExpandedIter<> |
| struct | GetFirstTypeT |
| struct | LightEmitter |
| struct | NautralObject |
| struct | OrbitalSystem |
| An object for the children of an orbital object. More... | |
| struct | Planet |
| struct | Star |
| struct | TexturedTerrain |
Typedefs | |
| template<typename... Pack> | |
| using | GetFirstType = GetFirstTypeT< Pack... >::Type |
Functions | |
| double | CalculateSOI (const double &mass, const double &reference_mass, const double &sma) |
| Calculates SOI More... | |
| double | CalculateMass (const double &GM) |
| Calculates mass from gravitational constant More... | |
| double | GetPlanetRotationAngle (const double &time, const double &day_length, const double &offset) |
| Calculates the current planet rotation angle More... | |
| template<typename... Rs> | |
| bool | operator== (const ConcatIter< Rs... > &iter, EndIter) |
Variables | |
| template<typename... Rs> | |
| return | v |
| using cqsp::core::components::bodies::GetFirstType = typedef GetFirstTypeT<Pack...>::Type |
|
inline |
Calculates mass from gravitational constant
Masses of bodies are described in gravitational constant because it's more accurate to describe like that
| GM |
|
inline |
Calculates SOI
Make sure the units match up
| mass | Mass of planet/body to calculate |
| reference_mass | Mass of sun/reference body |
| sma | Semi major axis of the planet |
|
inline |
Calculates the current planet rotation angle
| time | current time in seconds |
| day_length | length of day in seconds |
| offset | offset of day |
| bool cqsp::core::components::bodies::operator== | ( | const ConcatIter< Rs... > & | iter, |
| EndIter | |||
| ) |
| return cqsp::core::components::bodies::v |