Just a little matrix4x4 question…
I have made some matrix code and started testing it.
I tried this:
a.RotateXYZ(45.0, 0.0, 0.0);
b.Translate(5.0, 5.0, -20.0);
m = a * b;
(As you can see, this is cpp. Matrix4 is a 4x4 matrix class)
Then I see an object in the upper corner.
I do get the same result when I try this:
glTranslatef(5.0, 5.0, -20.0);
glRotatef(45.0, 1.0, 0.0, 0.0);
Does this make sense, as I (in my code) first rotate and then translate,
but in the second example I first translate, and then rotate…