Browse Source

Fix implicit variable declaration in webgl_video_panorama_equirectangular

Tristan Valcke 8 years ago
parent
commit
1c1dda114b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      examples/webgl_video_panorama_equirectangular.html

+ 5 - 1
examples/webgl_video_panorama_equirectangular.html

@@ -43,7 +43,11 @@
 			lon = 0, onMouseDownLon = 0,
 			lat = 0, onMouseDownLat = 0,
 			phi = 0, theta = 0,
-			distance = 500;
+			distance = 500,
+			onPointerDownPointerX = 0,
+			onPointerDownPointerY = 0,
+			onPointerDownLon = 0,
+			onPointerDownLat = 0;
 
 			init();
 			animate();