Преглед на файлове

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 );
 
 			}