diff options
Diffstat (limited to 'assets/javascripts/rectangles/map/_map.js')
| -rw-r--r-- | assets/javascripts/rectangles/map/_map.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/map/_map.js b/assets/javascripts/rectangles/map/_map.js index b7e9536..20db8fc 100644 --- a/assets/javascripts/rectangles/map/_map.js +++ b/assets/javascripts/rectangles/map/_map.js @@ -5,6 +5,7 @@ window.ctx = window.w = window.h = null; var map = new function(){ var base = this + base.dimensions = new vec2(500,500) base.bounds = new vec2(500,500) base.center = new vec2(0,0) @@ -14,7 +15,7 @@ var map = new function(){ base.center.a + sides.a, base.center.b + sides.b ) } - base.zoom = 1/4 + base.zoom = 1/8 var canvas = document.createElement("canvas") var ctx = window.ctx = canvas.getContext("2d") |
