Exemple #1
0
static void
motion(int x, int y)
{
    DELTAX -= MOUSEX - x;
    DELTAY += MOUSEY - y;
    MOUSEX = x;
    MOUSEY = y;
    tbMotion(x, y);
}
void motion(int x, int y)
{
    tbMotion(x, y);
}
void motion(int x, int y){
  tbMotion(x,y,mouseButton);
  glutPostRedisplay();
}
Exemple #4
0
void
motion(int x, int y)
{
  tbMotion(x, y);
  glutPostRedisplay();
}