lib/mittsu/renderers/opengl_renderer.rb in mittsu-0.1.0 vs lib/mittsu/renderers/opengl_renderer.rb in mittsu-0.1.1
- old
+ new
@@ -19,10 +19,10 @@
module Mittsu
class OpenGLRenderer
attr_accessor :auto_clear, :auto_clear_color, :auto_clear_depth, :auto_clear_stencil, :sort_objects, :gamma_factor, :gamma_input, :gamma_output, :shadow_map_enabled, :shadow_map_type, :shadow_map_cull_face, :shadow_map_debug, :shadow_map_cascade, :max_morph_targets, :max_morph_normals, :info, :pixel_ratio, :window, :width, :height, :state
def initialize(parameters = {})
- puts "OpenGLRenderer #{REVISION}"
+ puts "OpenGLRenderer (Revision #{REVISION})"
@pixel_ratio = 1.0
@precision = parameters.fetch(:precision, 'highp') # not sure if OpenGL works with the whole 'highp' thing...
@_alpha = parameters.fetch(:alpha, false)