Commit 9bdecb53 authored by Brandon Reid's avatar Brandon Reid

autosave

parent daa23f2c
......@@ -614,7 +614,7 @@ void printConstellation (vector <pair<double,double>> constellationCoordinates,
inrangeCount = 0;
for (int i = 0; i < 4; i++) {
coordinateCount++;
if((windowLeft > constellationCoordinates.at(coordinateCount).first) && (constellationCoordinates.at(coordinateCount).first < windowRight)
if((windowLeft > constellationCoordinates.at(coordinateCount).first) && (constellationCoordinates.at(coordinateCount).first < windowRight) // checks if specific constellation point falls within window boundaries
&& (windowTop > constellationCoordinates.at(coordinateCount).second) && (constellationCoordinates.at(coordinateCount).second > windowBottom)) {
inrangeCount++;
}
......
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