2D Objects Deforming
For a little memory and processor overhead a simple solution would be to store a matrix with the object and rotate/translate that each frame, then use the final matrix on the original object but don't overwrite it, instead, overwrite a local copy of each polygon. So the original object remains untouched.
Hi. I am just getting started in game/graphic programming. I've been fooling around with 2d vector graphics and have run into a small problem. After many successive rotations of an object it gets slighlty deformed. I think this has something to do with loss of precision. Anyone have any tips? Thanks for your help.
P.S. I am transforming the object using matrices.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement