From 7d73354432c714fffa47563d0424cc51964238d3 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Tue, 22 Apr 2014 01:38:00 -0400 Subject: ok fixed map stuff for real --- assets/javascripts/rectangles/map/_map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'assets/javascripts/rectangles/map/_map.js') 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") -- cgit v1.2.3-70-g09d2