Skip to content

Commit

Permalink
Adding Point and SegmentJoiner in the Magics namespace to avoid confu…
Browse files Browse the repository at this point in the history
…sion with other definitions.
  • Loading branch information
sylvielamythepaut committed Nov 28, 2023
1 parent f4c9d29 commit b4f86ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/visualisers/SegmentJoiner.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

using namespace std;

namespace magics {

struct Point {
double x_;
double y_;
Expand Down Expand Up @@ -143,4 +145,6 @@ class SegmentJoiner {
bool dirty_;
};

}

#endif

0 comments on commit b4f86ce

Please sign in to comment.