Exemplo n.º 1
0
static void
motion(int x, int y)
{
    DELTAX -= MOUSEX - x;
    DELTAY += MOUSEY - y;
    MOUSEX = x;
    MOUSEY = y;
    tbMotion(x, y);
}
Exemplo n.º 2
0
void motion(int x, int y)
{
    tbMotion(x, y);
}
Exemplo n.º 3
0
void motion(int x, int y){
  tbMotion(x,y,mouseButton);
  glutPostRedisplay();
}
Exemplo n.º 4
0
void
motion(int x, int y)
{
  tbMotion(x, y);
  glutPostRedisplay();
}