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 "common/components/coordinates.h"
#include "common/components/orbit.h"
#include "common/components/units.h"
Namespaces | |
namespace | cqsp |
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game. | |
namespace | cqsp::common |
namespace | cqsp::common::components |
namespace | cqsp::common::components::types |
Functions | |
double | cqsp::common::components::types::GreatCircleDistance (SurfaceCoordinate &coord1, SurfaceCoordinate &coord2) |
Calculates the angle between the two coordinates. Just multiply by the planet's diameter for fun and engagement. More... | |
glm::vec3 | cqsp::common::components::types::toVec3 (const SurfaceCoordinate &coord, const float &radius=1) |
Converts surface coordinate to vector3 in space so that we can get the surface coordinate to render in space More... | |
double | cqsp::common::components::types::GetLaunchAzimuth (double latitude, double inclination) |
Calculates the azimuth of the orbit based on the latitude and inclination More... | |
double | cqsp::common::components::types::GetLaunchInclination (double latitude, double azimuth) |
Calculates the inclination of the orbit based on the latitude and azimuth More... | |
SurfaceCoordinate | cqsp::common::components::types::ToSurfaceCoordinate (const glm::vec3 &vec) |