daguiar/game — pull request #4 by qwerty9967 (2013-04-27 21:01:37+00:00)
Title: object_test

I thought it might work well if I just started working in a different folder instead of messing with your stuff. I've developed an "Object" class that other classes can inherit from. It takes care of all the transformation and rotation stuff.

The MainWindow class show a top view and side view of what's going on. You can click on the objects and then use the arrow key, 't', and 'r' to move the selected object. See the README.

You can create your own classes that inherit from the Object class and you only have to re-implement the "draw" function. Everything else is taken care of. Just use Pyramid{h.cpp} as a template.

I need to add some comments and clean code a bit, but I thought I'd send this over because I think it's to the point where it could be helpful.