Query: glutmotionfunc
OS: mojave
Section: 3glut
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
glutMotionFunc(3GLUT) GLUT glutMotionFunc(3GLUT)NAMEglutMotionFunc, glutPassiveMotionFunc - set the motion and passive motion callbacks respectively for the current window.SYNTAX#include <GLUT/glut.h> void glutMotionFunc(void (*func)(int x, int y)); void glutPassiveMotionFunc(void (*func)(int x, int y));ARGUMENTSfunc The new motion or passive motion callback function.DESCRIPTIONglutMotionFunc and glutPassiveMotionFunc set the motion and passive motion callback respectively for the current window. The motion call- back for a window is called when the mouse moves within the window while one or more mouse buttons are pressed. The passive motion callback for a window is called when the mouse moves within the window while no mouse buttons are pressed. The x and y callback parameters indicate the mouse location in window relative coordinates. Passing NULL to glutMotionFunc or glutPassiveMotionFunc disables the generation of the mouse or passive motion callback respectively.SEE ALSOglutMouseFunc, glutSpaceballMotionFunc, glutTabletMotionFuncAUTHORMark J. Kilgard (mjk@nvidia.com)GLUT3.7 glutMotionFunc(3GLUT)
Related Man Pages |
---|
glutmousefunc(3glut) - mojave |
glutspaceballmotionfunc(3glut) - mojave |
glutspaceballmotionfunc(3glut) - redhat |
glutmousefunc(3) - centos |
glutspaceballmotionfunc(3glut) - suse |
Similar Topics in the Unix Linux Community |
---|
How to insert JPEG on each side of the cube using openGL in C |
Draw a 3D cylinder using openGL. |
Infraction for Ravikishore: 1st Warning to Add Code Tags |