diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2019-04-21 06:15:45 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-05-22 19:43:59 -0400 |
commit | 8879625879f1f7a5bde0eaf770b1476705f8d334 (patch) | |
tree | 5bee993d59f067fae030e519f46e60cb555b1ef7 /main | |
parent | 46450979dbcb6014957d8849c98efa81d0c921f4 (diff) |
Dynamic infinite 3D grid
Well, infinite for all intents and purposes.
Diffstat (limited to 'main')
-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; |