lib/mittsu/renderers/opengl/opengl_geometry_group.rb in mittsu-0.2.1 vs lib/mittsu/renderers/opengl/opengl_geometry_group.rb in mittsu-0.2.2

- old
+ new

@@ -2,10 +2,10 @@ module Mittsu class OpenGLGeometryGroup include OpenGLGeometryLike - attr_reader :id + attr_reader :id, :material_index alias :initted_arrays? :initted_arrays def initialize material_index, num_morph_targets, num_morph_normals, renderer @id = (@@id ||= 1).tap { @@id += 1 }