blob: 4a4ccd6a6c47bbd1c3d6ae3552e3bb5e5d38a7c2 (
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.00) && map.recenter()
//
// intro floor, models, etc
}
environment.update = function(t){
// add continuous animations and stuff here
map && map.update()
}
|