From 8879625879f1f7a5bde0eaf770b1476705f8d334 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 21 Apr 2019 06:15:45 -0400 Subject: Dynamic infinite 3D grid Well, infinite for all intents and purposes. --- main/tests/test_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/tests/test_math.cpp') diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp index 11aa164709..9e159798bb 100644 --- a/main/tests/test_math.cpp +++ b/main/tests/test_math.cpp @@ -482,7 +482,7 @@ MainLoop *test() { float gb = (rgbe >> 9) & 0x1ff; float bb = (rgbe >> 18) & 0x1ff; float eb = (rgbe >> 27); - float mb = Math::pow(2, eb - 15.0 - 9.0); + float mb = Math::pow(2.0, eb - 15.0 - 9.0); float rd = rb * mb; float gd = gb * mb; float bd = bb * mb; -- cgit v1.2.3