BREAKING CHANGE: aiQuaternion + / aiQuaternion to aiMatrix conversion does now conform to the 'usual' quaternion conventions. See the discussion at https://sourceforge.net/projects/assimp/forums/forum/817653/topic/3442128 for all the details.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@502 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-11-19 23:22:53 +00:00
parent 89475c7e42
commit 35cfb90e6f
7 changed files with 44 additions and 20 deletions

View File

@@ -375,6 +375,9 @@ void ASEImporter::BuildAnimations()
q.mValue = cur.Normalize();
}
nd->mRotationKeys[a] = q;
// need this to get to Assimp quaternion conventions
nd->mRotationKeys[a].mValue.w *= -1.f;
}
}
// copy scaling keys