Refactor return statement

This commit is contained in:
Robert Machmer 2016-01-24 00:27:34 +01:00
parent c2addd23a6
commit b56d910d33

View File

@ -220,7 +220,7 @@ function Graph.new()
-- Returns the x and y coordinates of the graph's center.
--
function self:getCenter()
return ( ( maxX - minX ) * 0.5 ) + minX, ( ( maxY - minY ) * 0.5 ) + minY;
return ( maxX - minX ) * 0.5 + minX, ( maxY - minY ) * 0.5 + minY;
end
---