Sfoglia il codice sorgente

fix subdivision example

zz85 14 anni fa
parent
commit
24dcc76bf7
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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 );
 
 			}