Ops...
This commit is contained in:
parent
0a3ca2dc6b
commit
b2b4431415
File diff suppressed because one or more lines are too long
|
@ -41,11 +41,11 @@ finalizeMesh.prototype = {
|
|||
|
||||
// Without Expression???!?
|
||||
if (geometry.morphTargets !== 'undefined') {
|
||||
var morphVector = new THREE.Vector4(vector.x, vector.y, vector.z);
|
||||
var morphVector = new Vector4(vector.x, vector.y, vector.z);
|
||||
|
||||
for (var mt = 0; mt < geometry.morphTargets.length; mt++) {
|
||||
//not pretty, but it gets the job done - jc
|
||||
morphVector.lerp(new THREE.Vector4(morphMatricesX[mt], morphMatricesY[mt], morphMatricesZ[mt], 1), morphMatricesInfluence[mt]);
|
||||
morphVector.lerp(new Vector4(morphMatricesX[mt], morphMatricesY[mt], morphMatricesZ[mt], 1), morphMatricesInfluence[mt]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue