blob: 27a5222a3edb9557f28eb579162f7f170dfc9fc7 (
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
29
30
|
var scrubber, fish, floor
viewHeight = 400
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.10) && map.recenter()
//
// intro floor, models, etc
}
environment.update = function(t){
// add continuous animations and stuff here
map && map.update()
}
|