Explorar o código

Improved draggable cubes example a bit more.

Mr.doob %!s(int64=14) %!d(string=hai) anos
pai
achega
1bdf3daec9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      examples/webgl_interactive_draggablecubes.html

+ 4 - 0
examples/webgl_interactive_draggablecubes.html

@@ -185,6 +185,8 @@
 					var intersects = ray.intersectObject( plane );
 					offset.copy( intersects[ 0 ].point ).subSelf( plane.position );
 
+					container.style.cursor = 'move';
+
 				}
 			}
 
@@ -194,6 +196,8 @@
 
 				SELECTED = null;
 
+				container.style.cursor = 'auto';
+
 			}
 
 			//

粤ICP备19079148号