提交 94526d96 编写于 作者: W WestLangley

Use new BufferAttribute.applyMatrix4() method

上级 a4513414
......@@ -1590,7 +1590,7 @@ THREE.FBXLoader = ( function () {
var positionAttribute = new THREE.Float32BufferAttribute( buffers.vertex, 3 );
preTransform.applyToBufferAttribute( positionAttribute );
positionAttribute.applyMatrix4( preTransform );
geo.setAttribute( 'position', positionAttribute );
......@@ -2118,7 +2118,7 @@ THREE.FBXLoader = ( function () {
var positionAttribute = new THREE.Float32BufferAttribute( morphBuffers.vertex, 3 );
positionAttribute.name = name || morphGeoNode.attrName;
preTransform.applyToBufferAttribute( positionAttribute );
positionAttribute.applyMatrix4( preTransform );
parentGeo.morphAttributes.position.push( positionAttribute );
......
......@@ -1638,7 +1638,7 @@ var FBXLoader = ( function () {
var positionAttribute = new Float32BufferAttribute( buffers.vertex, 3 );
preTransform.applyToBufferAttribute( positionAttribute );
positionAttribute.applyMatrix4( preTransform );
geo.setAttribute( 'position', positionAttribute );
......@@ -2166,7 +2166,7 @@ var FBXLoader = ( function () {
var positionAttribute = new Float32BufferAttribute( morphBuffers.vertex, 3 );
positionAttribute.name = name || morphGeoNode.attrName;
preTransform.applyToBufferAttribute( positionAttribute );
positionAttribute.applyMatrix4( preTransform );
parentGeo.morphAttributes.position.push( positionAttribute );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册