summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/_map.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-04-22 13:06:27 -0400
committerJules Laplace <jules@okfoc.us>2014-04-22 13:06:27 -0400
commite44f2ae20b96a6d5692bab56cab7452f6ad3d804 (patch)
tree76e3345d79d77b71b30d97a5b803d58d6bb2805b /assets/javascripts/rectangles/map/_map.js
parent62ee4fecc35772670b092b220cb29c7aa7b58b50 (diff)
grid that is actually quantized
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