浏览代码

fix subdivision example

zz85 14 年之前
父节点
当前提交
24dcc76bf7
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      examples/webgl_geometry_subdivison.html

+ 0 - 4
examples/webgl_geometry_subdivison.html

@@ -406,10 +406,6 @@
 				group.rotation.x = cube.rotation.x += ( targetXRotation - cube.rotation.x ) * 0.05;
 				group.rotation.y = cube.rotation.y += ( targetYRotation - cube.rotation.y ) * 0.05;
 				
-				cube.updateMatrixWorld();
-				group.updateMatrixWorld();
-				
-				
 				renderer.render( scene, camera );
 
 			}