Skip to content

Commit

Permalink
Removed unnecessary coords
Browse files Browse the repository at this point in the history
  • Loading branch information
oargudo committed Oct 7, 2020
1 parent 593b8c6 commit cbcb1a7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions code/text_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,10 @@ void TextWriter::addRunoff(const Runoff &runoff, const std::string &name) {

void TextWriter::addGraphEdge(const Peak &peak1, const Peak &peak2, const Saddle &saddle,
const std::string& peakName, const std::string& parentName, const std::string& saddleName) {
LatLng peak1pos = mCoords.getLatLng(peak1.location);
LatLng saddlepos = mCoords.getLatLng(saddle.location);
LatLng peak2pos = mCoords.getLatLng(peak2.location);

mTxt += peakName + " " + parentName + " " + saddleName + "\n";
}

void TextWriter::addRunoffEdge(const Peak &peak, const Runoff &runoff, const std::string& peakName, const std::string& runoffName) {
LatLng peakpos = mCoords.getLatLng(peak.location);
LatLng runoffpos = mCoords.getLatLng(runoff.location);

mTxt += peakName + " " + runoffName + "\n";
}

Expand Down

0 comments on commit cbcb1a7

Please sign in to comment.