lib/mittsu/extras/geometries/polyhedron_geometry.rb in mittsu-0.3.3 vs lib/mittsu/extras/geometries/polyhedron_geometry.rb in mittsu-0.4.0

- old
+ new

@@ -25,10 +25,9 @@ j = 0 while i < indices.length do v1 = @vertices[indices[i]] v2 = @vertices[indices[i + 1]] v3 = @vertices[indices[i + 2]] - binding.irb if v1.nil? || v2.nil? || v3.nil? faces[j] = Face3.new(v1.index, v2.index, v3.index, [v1.clone, v2.clone, v3.clone]) i += 3 j += 1