提交 172b4796 编写于 作者: M Mr.doob

Clean up.

上级 1a336dc2
...@@ -218,8 +218,8 @@ THREE.MD2Loader.prototype = { ...@@ -218,8 +218,8 @@ THREE.MD2Loader.prototype = {
for ( var j = 0; j < 16; j ++ ) { for ( var j = 0; j < 16; j ++ ) {
var character = data.getUint8( offset + j, true ); var character = data.getUint8( offset + j, true );
if( character === 0 ) break; if ( character === 0 ) break;
string[ j ] = character; string[ j ] = character;
} }
...@@ -298,13 +298,13 @@ THREE.MD2Loader.prototype = { ...@@ -298,13 +298,13 @@ THREE.MD2Loader.prototype = {
} }
geometry.animations = THREE.AnimationClip.CreateClipsFromMorphTargetSequences( geometry.morphTargets, 10 ) geometry.animations = THREE.AnimationClip.CreateClipsFromMorphTargetSequences( geometry.morphTargets, 10 );
console.timeEnd( 'MD2Loader' ); console.timeEnd( 'MD2Loader' );
return geometry; return geometry;
} };
} )() } )()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册