diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-11 14:49:17 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:00 +0200 |
| commit | cbf8eb9cbf2f4082cb1a83955d435ebcb73be3ab (patch) | |
| tree | db58a2d9c363d3256270eb705b5ae13d51836c71 /src/util | |
| parent | aa448cb5c3e2e372dad1c79ffc32ff32144b4140 (diff) | |
Center datacenter on site load
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/tile-calculations.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/util/tile-calculations.js b/src/util/tile-calculations.js index 260f28e6..31b5d8aa 100644 --- a/src/util/tile-calculations.js +++ b/src/util/tile-calculations.js @@ -239,13 +239,5 @@ export function calculateRoomListBounds(rooms) { y: min.y + (max.y - min.y) / 2.0 }; - return { - min, - center, - max - }; -} - -export function calculateRoomBounds(room) { - return calculateRoomListBounds([room]); + return {min, center, max}; } |
