浏览代码

Update animation

Paul Masson 7 年之前
父节点
当前提交
23c199282b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webvr_lorenz_attractor.html

+ 1 - 1
examples/webvr_lorenz_attractor.html

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