lib/rubyvis/scene/svg_line.rb in rubyvis-0.2.0 vs lib/rubyvis/scene/svg_line.rb in rubyvis-0.2.1

- old
+ new

@@ -103,12 +103,12 @@ e = SvgScene.append(e, scenes, i); } return e end - #/** @private Returns the path segment for the specified points. */ + # Returns the path segment for the specified points. */ - def self.path_segment(s1, s2) + def self.path_segment(s1, s2) l = 1; # sweep-flag l = 0 if s1.interpolate=='polar-reverse' if s1.interpolate=='polar' or s1.interpolate=='polar-reverse' dx = s2.left - s1.left