Pārlūkot izejas kodu

Fixed behaviour glitch on draggable cubes example.

Mr.doob 14 gadi atpakaļ
vecāks
revīzija
48eb624d59
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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';