mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
fix subdivision example
This commit is contained in:
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user