Try to correct Faces

This commit is contained in:
Thiago Almeida Vergani 2020-04-06 12:59:24 -03:00
parent a0905879f4
commit ab0c31c8c3
5 changed files with 10 additions and 15987 deletions

15977
dist/saver.js vendored

File diff suppressed because one or more lines are too long

2
dist/saver.min.js vendored

File diff suppressed because one or more lines are too long

12
package-lock.json generated
View File

@ -46,9 +46,9 @@
}
},
"acorn": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
"integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
"dev": true
},
"ansi-styles": {
@ -216,9 +216,9 @@
}
},
"rollup": {
"version": "1.24.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-1.24.0.tgz",
"integrity": "sha512-PiFETY/rPwodQ8TTC52Nz2DSCYUATznGh/ChnxActCr8rV5FIk3afBUb3uxNritQW/Jpbdn3kq1Rwh1HHYMwdQ==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-1.32.1.tgz",
"integrity": "sha512-/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A==",
"dev": true,
"requires": {
"@types/estree": "*",

View File

@ -9,7 +9,7 @@
"three": "^0.109.0"
},
"devDependencies": {
"rollup": "^1.24.0",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",

View File

@ -97,8 +97,8 @@ finalizeMesh.prototype = {
//the inverse takes the vector into local bone space
//which is then transformed to the appropriate world space
tempVector.applyMatrix4(inverses[k])
.applyMatrix4(skinMatrices[k])
.applyMatrix4(mrot).applyMatrix4(msca);
.applyMatrix4(skinMatrices[k]);
// .applyMatrix4(mrot).applyMatrix4(msca);
finalVector.add(tempVector);
}
}