From bf13f1f49c4c0297082447e4a6566b400cc343f2 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 26 Jul 2017 19:15:22 -1000 Subject: [PATCH] Add M_SQRT1_2F constant --- include/zeus/Math.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/zeus/Math.hpp b/include/zeus/Math.hpp index 5734995..e5b2ba2 100644 --- a/include/zeus/Math.hpp +++ b/include/zeus/Math.hpp @@ -21,6 +21,7 @@ #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ #undef M_SQRT1_2 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ +#define M_SQRT1_2F 0.70710678118654752440f /* 1/sqrt(2) */ #include #include