浏览代码

Merge pull request #19380 from WestLangley/dev_panning_direction

Examples: Fix panning direction
WestLangley 5 年之前
父节点
当前提交
58e169b162
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgl_video_panorama_equirectangular.html

+ 1 - 1
examples/webgl_video_panorama_equirectangular.html

@@ -105,7 +105,7 @@
 				if ( isUserInteracting === true ) {
 
 					lon = ( onPointerDownPointerX - event.clientX ) * 0.1 + onPointerDownLon;
-					lat = ( event.clientY - onPointerDownPointerY ) * 0.1 + onPointerDownLat;
+					lat = ( onPointerDownPointerY - event.clientY ) * 0.1 + onPointerDownLat;
 
 				}