Much as I hate to do it, I might do that. I've just converted two functions to use while and it's just making a mess of things and making small functions twice as big.
On the other hand doing that requires me to store that pointer in every single function that can create an animation object and I have like ten of them. I could make one default create function to create an anim object which then has to be modified by said functions though, I suppose.
That seems like it might confuse the user though. They might think they need to call the create function.
Hm.
On the other hand doing that requires me to store that pointer in every single function that can create an animation object and I have like ten of them. I could make one default create function to create an anim object which then has to be modified by said functions though, I suppose.
That seems like it might confuse the user though. They might think they need to call the create function.
Hm.