diff --git a/benchmark/bm_ao_render.rb b/benchmark/bm_ao_render.rb index e1d2565a8..a67c44a79 100644 --- a/benchmark/bm_ao_render.rb +++ b/benchmark/bm_ao_render.rb @@ -243,8 +243,6 @@ class Scene @plane.intersect(ray, occisect) if occisect.hit occlusion = occlusion + 1.0 - else - 0.0 end end end @@ -288,8 +286,6 @@ class Scene rad.x = rad.x + col.x rad.y = rad.y + col.y rad.z = rad.z + col.z - else - 0.0 end end end