diff options
Diffstat (limited to 'assets/javascripts/rectangles/_env.js')
| -rw-r--r-- | assets/javascripts/rectangles/_env.js | 3 |
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), |
