mirror of
https://github.com/rm-code/Graphoon.git
synced 2024-11-16 18:24:22 +00:00
Refactor return statement
This commit is contained in:
parent
c2addd23a6
commit
b56d910d33
@ -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
|
||||
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user