Hello once again from the world of insanity!
Today’s question is:
How does one go about accumulating rotations and transformations on a model/object?
In essence, You have an object, say a cube. What you want to do is accumulate transforms (or save the state) of the object across frames.
Obviously you need some sort of storage object to do this, but what is the best solution?
Secondly, accumulating rotations. What is the best way to resolve this (aside from quaternions, which I do not want to implement)? Basically, what needs to be done is that Object A is in a given orientation. You wish to rotate Object A by an arbitrary vector and angle (usually, the angle will be 1 degree in this case).
Diving back into the original question, after this rotation, this is the new “permanent” orientation for Object A. Now any transforms must be made upon this orientation as if the model was constructed in this orientation originally.
How do I go about doing this in the simplest way possible?