summaryrefslogtreecommitdiff
path: root/src/game-server/collisiondetection.hpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-03 11:59:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-03 11:59:53 +0000
commitf9980c8854a94863b24be459d800ba57fd92037f (patch)
tree8a245c5a9b6a863f5a449d4e1deb34a14e1d1db4 /src/game-server/collisiondetection.hpp
parentcdf81ef8e5b25fd8751a92c6ff394c01daedbb88 (diff)
downloadmanaserv-f9980c8854a94863b24be459d800ba57fd92037f.tar.gz
manaserv-f9980c8854a94863b24be459d800ba57fd92037f.tar.bz2
manaserv-f9980c8854a94863b24be459d800ba57fd92037f.tar.xz
manaserv-f9980c8854a94863b24be459d800ba57fd92037f.zip
Use M_PI_2 instead of acos(0.0f) and FLT_MAX instead of 1.0E40f (which exceeded
the maximum float value). Some cosmetics (whitespace and declaring variables where they are used).
Diffstat (limited to 'src/game-server/collisiondetection.hpp')
-rw-r--r--src/game-server/collisiondetection.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/collisiondetection.hpp b/src/game-server/collisiondetection.hpp
index 88631031..bfbab413 100644
--- a/src/game-server/collisiondetection.hpp
+++ b/src/game-server/collisiondetection.hpp
@@ -47,7 +47,6 @@ namespace Collision
diskWithCircleSector(const Point &diskCenter, int diskRadius,
const Point &sectorCenter, int sectorRadius,
int halfTopAngle, int placeAngle);
-
-};
+}
#endif