This commit is contained in:
ousttrue 2021-02-16 18:26:24 +09:00
parent 9086021258
commit 383bfa4f68
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 082de46c993eb764eb020101c113824a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -19,15 +19,16 @@ namespace UniVRM10
{
if (node.translation != null && node.translation.Length == 3)
{
// rotate 180 degrees around the Y axis
var t = node.translation;
t[0] = -t[0];
t[2] = -t[2];
}
if (node.rotation != null && node.rotation.Length == 4)
{
// throw new NotImplementedException("not normlaized !");
// throw new NotImplementedException("not normalized !");
}
if (node.scale != null && node.rotation.Length == 3)
if (node.scale != null && node.scale.Length == 3)
{
// do nothing
}