diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-26 13:39:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 13:39:53 +0200 |
commit | f8005cb699123bf6b04ab7abd381036ee19f36e4 (patch) | |
tree | 9a6c96b85a5079815a71e474140da884d17b8e01 /main/tests/test_math.cpp | |
parent | da73cd57565180f313996a3218bd60be113d829f (diff) | |
parent | 8879625879f1f7a5bde0eaf770b1476705f8d334 (diff) |
Merge pull request #28289 from aaronfranke/grid
Dynamic infinite 3D grid
Diffstat (limited to 'main/tests/test_math.cpp')
-rw-r--r-- | main/tests/test_math.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |