Rotation around x axies

While trying to rotate 360 degrees around x axies something strange happens.

The code: Click here

The video tells first how it's supposed to behave (blender) and how it behaves on my case.




Edited by Dren Kajmakci on