]> git.lizzy.rs Git - irrlicht.git/commit
Avoid some broken calculations for IBoneSceneNode positions.
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>
Tue, 11 Oct 2022 22:54:44 +0000 (22:54 +0000)
committersfan5 <sfan5@live.de>
Fri, 24 Mar 2023 16:09:11 +0000 (17:09 +0100)
commitedb381bd5050712d1eb8875fe3a405000dd09a3d
treed2b7b933f9e075903a2e59d642cf9dd84ae4a2a4
parent8ffa7eafea218d12db29be08240ea233259372a1
Avoid some broken calculations for IBoneSceneNode positions.

This is based on bugreport #458 reported by viwrap who also made a nice test-case model.
Note: While solution seems to work and would even be faster, I'm not 100% sure yet if there are no downsides.
The other solution seems to regard last column in matrices - thought I don't think we ever set or use that.
And I also haven't found out yet _why_ the original solution goes wrong.
But animation system uses right-hand quaternions unlike rest of Irrlicht which is obviously a bit dangerous, will have to check the conversions some day.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6438 dfc29bdd-3216-0410-991c-e03cc46cb475
source/Irrlicht/CSkinnedMesh.cpp