title: Get x position at start of motion and end using glutmotionfunc
body: <p>I want to use glutmotionfunc() to get the x position at the start of the dragging motion and the end i.e. so I can get the change in x. Is there a simple way of doing this?</p>