Merge pull request #5730 from aoki1980taichi/patch-1

delete unused variable
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-06-25 07:37:24 +09:00
committed by GitHub
-2
View File
@@ -252,7 +252,6 @@ class Scene
end
def render(w, h, nsubsamples)
cnt = 0
nsf = nsubsamples.to_f
h.times do |y|
w.times do |x|
@@ -261,7 +260,6 @@ class Scene
# Subsampling
nsubsamples.times do |v|
nsubsamples.times do |u|
cnt = cnt + 1
wf = w.to_f
hf = h.to_f
xf = x.to_f