mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
benchmark/bm_ao_render.rb: enable specifying the size of the image.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
# mruby version by Hideki Miura
|
||||
#
|
||||
|
||||
IMAGE_WIDTH = 64
|
||||
IMAGE_HEIGHT = 64
|
||||
IMAGE_WIDTH = Integer(ARGV[0] || 64)
|
||||
IMAGE_HEIGHT = IMAGE_WIDTH
|
||||
NSUBSAMPLES = 2
|
||||
NAO_SAMPLES = 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user