summaryrefslogtreecommitdiffstats
path: root/src/math/point.h
diff options
context:
space:
mode:
authorZaba999 <zaba.marcin@gmail.com>2012-09-20 23:04:37 +0200
committerZaba999 <zaba.marcin@gmail.com>2012-09-20 23:04:37 +0200
commit34a11021daca9d6b51e8cc29c1562a75815df7b3 (patch)
tree7d1427b27337d32224cf66cc114adf4f3665bbee /src/math/point.h
parent191fdc614ed8022c145d3530f9d412e715ae37db (diff)
parente25823f98437461826b52521bcf9d70eb11a00b3 (diff)
downloadcolobot-34a11021daca9d6b51e8cc29c1562a75815df7b3.tar.gz
colobot-34a11021daca9d6b51e8cc29c1562a75815df7b3.tar.bz2
colobot-34a11021daca9d6b51e8cc29c1562a75815df7b3.zip
changed paths for models and levels. Now it's possible to load level. Merged with latest trunk
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