From 7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Wed, 19 Sep 2012 23:50:28 +0200 Subject: Namespace and styling fix --- src/math/geometry.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/math/geometry.h') diff --git a/src/math/geometry.h b/src/math/geometry.h index 55bc745..f086e2d 100644 --- a/src/math/geometry.h +++ b/src/math/geometry.h @@ -22,19 +22,21 @@ #pragma once -#include "const.h" -#include "func.h" -#include "point.h" -#include "vector.h" -#include "matrix.h" + +#include "math/const.h" +#include "math/func.h" +#include "math/point.h" +#include "math/matrix.h" +#include "math/vector.h" + #include #include // Math module namespace -namespace Math -{ +namespace Math { + //! Returns py up on the line \a a - \a b inline float MidPoint(const Math::Point &a, const Math::Point &b, float px) @@ -617,4 +619,5 @@ inline Math::Vector RotateView(Math::Vector center, float angleH, float angleV, return eye+center; } -}; // namespace Math + +} // namespace Math -- cgit v1.2.3-1-g7c22