summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascripts/rectangles/map/_map.js')
-rw-r--r--assets/javascripts/rectangles/map/_map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/javascripts/rectangles/map/_map.js b/assets/javascripts/rectangles/map/_map.js
index 2815b89..72901a1 100644
--- a/assets/javascripts/rectangles/map/_map.js
+++ b/assets/javascripts/rectangles/map/_map.js
@@ -12,8 +12,8 @@ var map = new function(){
base.sides = function(){
var sides = base.bounds.clone().div(2).div(base.zoom)
- return new rect( base.center.a - sides.a, base.center.b - sides.b,
- base.center.a + sides.a, base.center.b + sides.b )
+ return new rect( base.center.a - sides.a, -base.center.b - sides.b,
+ base.center.a + sides.a, -base.center.b + sides.b )
}
base.zoom = 1/8