lib/geomotion/cg_point.rb in geomotion-0.13.1 vs lib/geomotion/cg_point.rb in geomotion-0.13.2

- old
+ new

@@ -55,9 +55,11 @@ case other when CGSize return self.rect_of_size(other) when CGPoint return CGPoint.new(self.x + other.x, self.y + other.y) + when CGRect + return CGPoint.new(self.x + other.origin.x, self.y + other.origin.y).rect_of_size(other.size) end end def *(scale) case scale