diff options
Diffstat (limited to 'client/assets/javascripts/environments/app.js')
| -rw-r--r-- | client/assets/javascripts/environments/app.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/client/assets/javascripts/environments/app.js b/client/assets/javascripts/environments/app.js new file mode 100644 index 0000000..cdc104b --- /dev/null +++ b/client/assets/javascripts/environments/app.js @@ -0,0 +1,28 @@ +var scrubber, fish, floor + +var environment = new function(){} +environment.init = function(){ + + scene.camera.move({ + "x": 0, + "y": 0, + "z": 0, + "rotationX": 0.085, + "rotationY": 0.025 + }) + map && map.zoom(3.00) && map.recenter() + + // + // intro floor, models, etc + +} + + +environment.update = function(t){ + + // add continuous animations and stuff here + + map && map.update() + +} + |
