Commit 24e06948 authored by hybrid's avatar hybrid

Fix axis swizzle which was broken since my last larger change of the HL mesh loader.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3829 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f22fe546
...@@ -127,8 +127,8 @@ namespace scene ...@@ -127,8 +127,8 @@ namespace scene
inline void VectorTransform(const vec3_hl in1, const f32 in2[3][4], core::vector3df& out) inline void VectorTransform(const vec3_hl in1, const f32 in2[3][4], core::vector3df& out)
{ {
out.X = DotProduct(in1, in2[0]) + in2[0][3]; out.X = DotProduct(in1, in2[0]) + in2[0][3];
out.Y = DotProduct(in1, in2[1]) + in2[1][3]; out.Z = DotProduct(in1, in2[1]) + in2[1][3];
out.Z = DotProduct(in1, in2[2]) + in2[2][3]; out.Y = DotProduct(in1, in2[2]) + in2[2][3];
} }
static f32 BoneTransform[MAXSTUDIOBONES][3][4]; // bone transformation matrix static f32 BoneTransform[MAXSTUDIOBONES][3][4]; // bone transformation matrix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment