benchmark/bm_ao_render.rb: enable specifying the size of the image.

parent 7b84fd4c
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# mruby version by Hideki Miura # mruby version by Hideki Miura
# #
IMAGE_WIDTH = 64 IMAGE_WIDTH = Integer(ARGV[0] || 64)
IMAGE_HEIGHT = 64 IMAGE_HEIGHT = IMAGE_WIDTH
NSUBSAMPLES = 2 NSUBSAMPLES = 2
NAO_SAMPLES = 8 NAO_SAMPLES = 8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment