geometric transformations in video games