Address comment on PR

This commit is contained in:
Ylva Selling
2023-02-13 12:52:51 -05:00
parent f9692f8f22
commit 488dfe2603

View File

@@ -503,7 +503,7 @@ std::string prunedIdentifier(std::string identifier) {
glm::vec3 positionTarget = glm::vec3(0.9f, 0.4f, -2.1f);
glm::dvec3 galacticTarget = skybrowser::localCameraToGalactic(positionTarget);
if (glm::any(glm::isnan(galacticTarget))) {
galacticTarget = glm::dvec3 (0.0, 0.0, skybrowser::CelestialSphereRadius);
galacticTarget = glm::dvec3(0.0, 0.0, skybrowser::CelestialSphereRadius);
}
std::string guiPath = "/Sky Browser";
std::string url = "http://wwt.openspaceproject.com/1/openspace/";