Browse Source

Synced with mrdoob's skinning branch. Also fixed broken canvas cube example.

That one was bugging me, I thought it was integration when it was a simple misspelling ;)
alteredq 14 năm trước cách đây
mục cha
commit
6af332afeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/canvas_geometry_cube.html

+ 1 - 1
examples/canvas_geometry_cube.html

@@ -171,7 +171,7 @@
 
 			function render() {
 
-				plane.rotation.z = cube.rotation.y += ( targetRotation - cube.rotation.y ) * 0.05;
+				plane.rotation.y = cube.rotation.y += ( targetRotation - cube.rotation.y ) * 0.05;
 				renderer.render(scene, camera);
 
 			}