فهرست منبع

Fixed behaviour glitch on draggable cubes example.

Mr.doob 14 سال پیش
والد
کامیت
48eb624d59
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      examples/webgl_interactive_draggablecubes.html

+ 2 - 0
examples/webgl_interactive_draggablecubes.html

@@ -192,6 +192,8 @@
 
 				event.preventDefault();
 
+				plane.position.copy( INTERSECTED.position );
+
 				SELECTED = null;
 
 				container.style.cursor = 'auto';