浏览代码

Fix implicit variable declaration in webgl_video_panorama_equirectangular

Tristan Valcke 8 年之前
父节点
当前提交
1c1dda114b
共有 1 个文件被更改,包括 5 次插入1 次删除
  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,
 			lon = 0, onMouseDownLon = 0,
 			lat = 0, onMouseDownLat = 0,
 			lat = 0, onMouseDownLat = 0,
 			phi = 0, theta = 0,
 			phi = 0, theta = 0,
-			distance = 500;
+			distance = 500,
+			onPointerDownPointerX = 0,
+			onPointerDownPointerY = 0,
+			onPointerDownLon = 0,
+			onPointerDownLat = 0;
 
 
 			init();
 			init();
 			animate();
 			animate();