|
@@ -98,7 +98,7 @@
|
|
|
var texture = new THREE.TextureLoader().load( 'textures/ricoh_theta_s.jpg' );
|
|
|
texture.format = THREE.RGBFormat;
|
|
|
|
|
|
- var material = new THREE.MeshBasicMaterial( { map: texture } );
|
|
|
+ var material = new THREE.MeshBasicMaterial( { map: texture } );
|
|
|
|
|
|
mesh = new THREE.Mesh( geometry, material );
|
|
|
scene.add( mesh );
|
|
@@ -163,6 +163,8 @@
|
|
|
|
|
|
distance += event.deltaY * 0.05;
|
|
|
|
|
|
+ distance = THREE.Math.clamp( distance, 400, 1000 );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
function animate() {
|