Trackball may refer to either the hardware used to move a mouse (specifically a ball embedded in the mouse which rolls as the mouse is moved) or to the three.
I was using tutorial on http://viewport3d.com/trackball.htm to program trackball. I have axis and angle computed …