提交 3256f313 编写于 作者: M Mr.doob

Fixed example relying on old requestAnimationFrame.

上级 a6f6fac5
......@@ -202,8 +202,9 @@
}
function animate( timestamp ) {
function animate() {
var timestamp = Date.now();
var frameTime = ( timestamp - lastTimestamp ) * 0.001; // seconds
if ( progress >= 0 && progress < 48 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册