summaryrefslogtreecommitdiff
path: root/assets/javascripts/environments/app.js
blob: cdc104b875b2188ff2dd35a259fe3fd4a5048661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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()

}