Browse Source

Update animation

Paul Masson 7 năm trước cách đây
mục cha
commit
23c199282b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webvr_lorenz_attractor.html

+ 1 - 1
examples/webvr_lorenz_attractor.html

@@ -146,7 +146,7 @@
 
 			function animate() {
 
-				renderer.animate( render );
+				renderer.setAnimationLoop( render );
 
 			}