소스 검색

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';