Skip to content

Commit 20a1227

Browse files
committed
Examples: Clean up
1 parent e2db17b commit 20a1227

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/webgl_panorama_equirectangular.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@
144144

145145
function onPointerStart( event ) {
146146

147-
event.preventDefault();
148-
149147
isUserInteracting = true;
150148

151149
var clientX = event.clientX || event.touches[ 0 ].clientX;
@@ -214,6 +212,11 @@
214212

215213
camera.lookAt( camera.target );
216214

215+
/*
216+
// distortion
217+
camera.position.copy( camera.target ).negate();
218+
*/
219+
217220
renderer.render( scene, camera );
218221

219222
}

0 commit comments

Comments
 (0)