summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/_env.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascripts/rectangles/_env.js')
-rw-r--r--assets/javascripts/rectangles/_env.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/assets/javascripts/rectangles/_env.js b/assets/javascripts/rectangles/_env.js
new file mode 100644
index 0000000..aa7af50
--- /dev/null
+++ b/assets/javascripts/rectangles/_env.js
@@ -0,0 +1,18 @@
+
+var environment = new function(){}
+environment.init = function(){
+ scene.camera.move({
+ "x": 0,
+ "y": 0,
+ "z": -1000,
+ "rotationX": 0.085,
+ "rotationY": 0.025
+ })
+ map && map.zoom(3.00) && map.recenter()
+
+ clipper.init()
+ scene.update()
+}
+environment.update = function(t){
+}
+