提交 42a9faa1 编写于 作者: S SUNAG

add time scale

上级 a48bdd57
......@@ -7,6 +7,7 @@ THREE.TimeNode = function( value ) {
THREE.FloatNode.call( this, value );
this.requestUpdate = true;
this.scale = 1;
};
......@@ -15,6 +16,6 @@ THREE.TimeNode.prototype.constructor = THREE.TimeNode;
THREE.TimeNode.prototype.updateAnimation = function( delta ) {
this.number += delta;
this.number += delta * this.scale;
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册