Mouse Navigation

Whats the quickest way of doing mouse navigation? not

mouse_move(x, y)
glrotatef(1, x, y, 0);

As in I want it to navigate the world in the same way as any vrml viewer or similar

sorted it.


Many viewers use:
*Left click is trackball (search for trackball. Someone gave me code for one on here once).
*<Shift> left click translates (Easy to implement, just translate the object the same way the mouse is going in x, y).