lib/mittsu/renderers/opengl/objects/line.rb in mittsu-0.1.7 vs lib/mittsu/renderers/opengl/objects/line.rb in mittsu-0.2.0
- old
+ new
@@ -32,10 +32,10 @@
geometry.create_line_buffers
geometry.init_line_buffers(self)
geometry.vertices_need_update = true
geometry.colors_need_update = true
- geometry.line_distances_need_update
+ geometry.line_distances_need_update = true
end
end
def add_opengl_object
@renderer.add_opengl_object(geometry, self)