summaryrefslogtreecommitdiffstats
path: root/src/math/point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/point.h')
-rw-r--r--src/math/point.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/math/point.h b/src/math/point.h
index 1093c54..456fe1e 100644
--- a/src/math/point.h
+++ b/src/math/point.h
@@ -21,16 +21,18 @@
#pragma once
-#include "const.h"
-#include "func.h"
+
+#include "math/const.h"
+#include "math/func.h"
+
#include <cmath>
#include <sstream>
// Math module namespace
-namespace Math
-{
+namespace Math {
+
/**
* \struct Point
@@ -187,4 +189,5 @@ inline float Distance(const Point &a, const Point &b)
return sqrtf((a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y));
}
-}; // namespace Math
+
+} // namespace Math