diff --git a/shapes.lua b/shapes.lua index 220d0af..df7b600 100644 --- a/shapes.lua +++ b/shapes.lua @@ -57,11 +57,6 @@ end local Shape = Class{name = 'Shape', function(self, t) self._type = t end} -function Shape:moveTo(x,y) - local current = vector( self:center() ) - local to = vector.isvector(x) and x or vector(x,y) - self:move( to-current ) -end function Shape:moveTo(x,y) if y then x = vector(x,y) end