rotation using quaternions

I've a simple program that rotates a vector in 3D around an axis passing through origin. But appears like the rotation doesn't complete, it stops after a bit. I'm not sure why that is happening. code here - http://pastebin.com/xsTmrznv

Sign In or Register to comment.