Author Topic: Issue rotating a point about an arbitrary axis.  (Read 405 times)

So I have written this C++ program with SDL 2.0 and I'm trying to get it to display a point rotating about the arbitrary axis 1,1,1 much like this http://twist-and-shout.appspot.com/#0_0_0_1_1_1_1_1_0_45 but it is coming out with something completely different.

code:
http://pastebin.com/uqMxKEvJ

See any errors I have made?