I have a simple program that accepts mouse input to rotate say a cube in openGL, but it always rotates around the objects local coordinates. This leads to some nonintuitive behavior (twist right 90 ...