summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/_env.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-04-18 14:42:01 -0400
committerJules Laplace <jules@okfoc.us>2014-04-18 14:42:01 -0400
commitc780419e05bddf80b09e3091634361f289666f35 (patch)
tree0c3da34fbb443938672d92aaed22b1639345ca54 /assets/javascripts/rectangles/_env.js
parentb67e1e3c83e06fe7b5dfa4fa75f714121c02ce50 (diff)
camera cursor
Diffstat (limited to 'assets/javascripts/rectangles/_env.js')
-rw-r--r--assets/javascripts/rectangles/_env.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/javascripts/rectangles/_env.js b/assets/javascripts/rectangles/_env.js
index 463fb3e..145806e 100644
--- a/assets/javascripts/rectangles/_env.js
+++ b/assets/javascripts/rectangles/_env.js
@@ -8,6 +8,9 @@ environment.init = function(){
"rotationX": PI/2,
"rotationY": PI
})
+
+ map.center.a = scene.camera.x
+ map.center.b = scene.camera.z
clipper.rooms.push( new room ({
rect: new rect(-100,-100, 100,100),