Commit 5162b0a8 authored by Brandon Reid's avatar Brandon Reid

autosave

parent d62dabd1
......@@ -710,42 +710,43 @@ void printConstellation (vector <pair<double,double>> constellationCoordinates,
}
string constellationNamer (int index) {
if (index == 3) {
return " Canis Major ";
} else if (index == 7) {
return " Eridanius ";
} else if (index == 11) {
return " Gemini ";
} else if (index == 15) {
return " Orion ";
} else if (index == 19) {
return " Tarus ";
} else if (index == 23) {
return " Bootes ";
} else if (index == 27) {
return " Cancer";
} else if (index == 31) {
return " Leo ";
} else if (index == 35) {
return " Virgo ";
} else if (index == 39) {
return " Aquila ";
} else if (index == 43) {
return " Sagitarius ";
} else if (index == 47) {
return " Scorpius ";
} else if (index == 51) {
return " Capricornus ";
} else if (index == 55) {
return " Pegasus ";
} else if (index == 59) {
return " Pisces ";
} else if (index == 63) {
return " Ursa Minor ";
} else if (index == 67) {
return " Ursa Major ";
} else {
return " Unknown constellation";
switch (index) {
case 3:
return " Canis Major ";
case 7:
return " Eridanius ";
case 11:
return " Gemini ";
case 15:
return " Orion ";
case 19:
return " Tarus ";
case 23:
return " Bootes ";
case 27:
return " Cancer";
case 31:
return " Leo ";
case 35:
return " Virgo ";
case 39:
return " Aquila ";
case 43:
return " Sagitarius ";
case 47:
return " Scorpius ";
case 51:
return " Capricornus ";
case 55:
return " Pegasus ";
case 59:
return " Pisces ";
case 63:
return " Ursa Minor ";
case 67:
return " Ursa Major ";
default:
return " Unknown constellation ";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment