Explorar o código

fix subdivision example

zz85 %!s(int64=14) %!d(string=hai) anos
pai
achega
24dcc76bf7
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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 );
 
 			}

粤ICP备19079148号