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/func.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/math/func.h') diff --git a/src/math/func.h b/src/math/func.h index 541b084..413b5d9 100644 --- a/src/math/func.h +++ b/src/math/func.h @@ -22,15 +22,17 @@ #pragma once -#include "const.h" + +#include "math/const.h" + #include #include // Math module namespace -namespace Math -{ +namespace Math { + //! Compares \a a and \a b within \a tolerance inline bool IsEqual(float a, float b, float tolerance = Math::TOLERANCE) @@ -253,4 +255,5 @@ inline float Bounce(float progress, float middle = 0.3f, float bounce = 0.4f) } } -}; // namespace Math + +} // namespace Math -- cgit v1.2.3-1-g7c22