浏览代码

Improved draggable cubes example a bit more.

Mr.doob 14 年之前
父节点
当前提交
1bdf3daec9
共有 1 个文件被更改,包括 4 次插入0 次删除
  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';
+
 			}
 
 			//