From 30a29fa0f8c30ed174c7d12254ca92cc41e4f305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 7 Apr 2015 13:50:35 -0700 Subject: [PATCH] Cleanup. --- include/bx/fpumath.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/bx/fpumath.h b/include/bx/fpumath.h index b85fb9c..37d4fec 100644 --- a/include/bx/fpumath.h +++ b/include/bx/fpumath.h @@ -14,10 +14,10 @@ namespace bx { - const float pi = 3.14159265358979323846f; - const float invPi = 1.0f/3.14159265358979323846f; - const float piHalf = 1.57079632679489661923f; - const float sqrt2 = 1.41421356237309504880f; + static const float pi = 3.14159265358979323846f; + static const float invPi = 1.0f/3.14159265358979323846f; + static const float piHalf = 1.57079632679489661923f; + static const float sqrt2 = 1.41421356237309504880f; inline float toRad(float _deg) {