|
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.
|
#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | cqsp |
| namespace | cqsp::core |
| namespace | cqsp::core::components |
| namespace | cqsp::core::components::types |
Typedefs | |
| typedef double | cqsp::core::components::types::astronomical_unit |
| typedef double | cqsp::core::components::types::light_year |
| typedef double | cqsp::core::components::types::kilometer |
| typedef double | cqsp::core::components::types::solar_mass |
| typedef double | cqsp::core::components::types::degree |
| typedef double | cqsp::core::components::types::radian |
| typedef double | cqsp::core::components::types::meter_cube |
| typedef double | cqsp::core::components::types::kilogram |
| typedef double | cqsp::core::components::types::earth_masses |
| typedef double | cqsp::core::components::types::joule |
| typedef double | cqsp::core::components::types::second |
Functions | |
| constexpr double | cqsp::core::components::types::floatmod (double x, double y) |
| constexpr radian | cqsp::core::components::types::normalize_radian (const radian &radian) |
| Normalizes a radian to [0, PI*2) More... | |
| constexpr double | cqsp::core::components::types::normalize_radian_coord (const radian &radian) |
| constexpr degree | cqsp::core::components::types::normalize_degree (const degree &radian) |
| constexpr astronomical_unit | cqsp::core::components::types::toAU (kilometer km) |
| constexpr light_year | cqsp::core::components::types::toLightYear (astronomical_unit au) |
| constexpr astronomical_unit | cqsp::core::components::types::LtyrtoAU (light_year ltyr) |
| constexpr kilometer | cqsp::core::components::types::toKm (astronomical_unit au) |
| constexpr radian | cqsp::core::components::types::toRadian (degree theta) |
| constexpr degree | cqsp::core::components::types::toDegree (radian theta) |
| constexpr double | cqsp::core::components::types::operator""_deg (const long double deg) |
| constexpr double | cqsp::core::components::types::operator""_au (const long double au) |
Variables | |
| constexpr double | cqsp::core::components::types::PI = 3.14159265358979323846 |
| constexpr double | cqsp::core::components::types::TWOPI = PI * 2 |
| constexpr double | cqsp::core::components::types::HALFPI = PI / 2 |
| constexpr double | cqsp::core::components::types::KmInAu = 149597870.700 |
| constexpr double | cqsp::core::components::types::G = 6.6743015e-11 |
| constexpr double | cqsp::core::components::types::G_km = 6.6743015e-20 |
| constexpr double | cqsp::core::components::types::SunMu = 1.32712400188e11 |