diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-04-15 19:12:16 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-04-15 19:12:16 -0400 |
| commit | 9c3c0151cb2b0a824f184501ea2672ef9e87a993 (patch) | |
| tree | 44591f45911a0078f15202cdaf21d03aa5945301 /assets/javascripts/rectangles/_env.js | |
| parent | 3d4a9829797f850fde2b65afbaa4dc45f519c3eb (diff) | |
positioning sides (half done)
Diffstat (limited to 'assets/javascripts/rectangles/_env.js')
| -rw-r--r-- | assets/javascripts/rectangles/_env.js | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/assets/javascripts/rectangles/_env.js b/assets/javascripts/rectangles/_env.js index aa7af50..e2e8e31 100644 --- a/assets/javascripts/rectangles/_env.js +++ b/assets/javascripts/rectangles/_env.js @@ -2,17 +2,22 @@ var environment = new function(){} environment.init = function(){ scene.camera.move({ - "x": 0, - "y": 0, - "z": -1000, - "rotationX": 0.085, - "rotationY": 0.025 + "x": 240, + "y": -1000, + "z": 240, + "rotationX": -PI/2, + "rotationY": 0 // PI }) map && map.zoom(3.00) && map.recenter() + clipper.rects.push( new rect(100,100, 200,300) ) + clipper.rects.push( new rect(200,300, 300,500) ) + + clipper.rects.push( new rect(300,100, 600,300) ) + clipper.rects.push( new rect(400,200, 700,400) ) + clipper.init() scene.update() } environment.update = function(t){ } - |
