opengl でマウスの受動的な動きを検出するにはどうすればよいですか? つまり、前進、後退、左、右の移動をどのように理解すればよいのでしょうか。
私はやった
glutPassiveMotionFunc ( func )
void func ( int x, int y ) {
// x and y always positive, I wait it should be negative if it goes left
// acc. to my coordinate system determined in glLookAt.
}