提交 4acb726c 编写于 作者: B Ben Houston

fix comments.

上级 759ca9c9
......@@ -24,12 +24,8 @@ THREE.AnimationAction.prototype = {
updateTime: function( clipDeltaTime ) {
//console.log( 'AnimationAction[' + this.clip.name + '].toAnimationClipTime( ' + time + ' )' );
this.clipTime += clipDeltaTime;
//console.log( this.clip.name, '.getTimeScaleAt( ' + this.time + ' )', this.getTimeScaleAt( this.time ) );
//console.log( ' clipTime: ' + clipTime );
var duration = this.clip.duration;
if( this.loop ) {
......@@ -37,7 +33,6 @@ THREE.AnimationAction.prototype = {
if( this.clipTime < 0 ) {
this.clipTime -= Math.floor( this.clipTime / duration ) * duration;
//console.log( ' clipTime: ' + clipTime );
}
......@@ -63,14 +58,10 @@ THREE.AnimationAction.prototype = {
update: function( clipDeltaTime ) {
//console.log( 'AnimationAction[' + this.clip.name + '].getAt( ' + time + ' )' );
this.updateTime( clipDeltaTime );
var clipResults = this.clip.getAt( this.clipTime );
//console.log( " clipResults: ", clipResults );
return clipResults;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册