centos man page for glutmotionfunc

Query: glutmotionfunc

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutMotionFunc -- Reports mouse-motion while a button is held.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h> void glutMotionFunc(void( *callback )( int x, int y ));
PARAMETERS
callback Client hook for dragging mouse.
DESCRIPTION
This function reports the mouse position when the mouse is dragged starting from within your window. (``Dragging'' occurs when you press one or more mouse buttons in one of your OpenGLUT windows, and then move the mouse around.) This callback is bound to the current window .
CAVEATS
Events are reported until the mouse button is released, even if the mouse leaves the window. Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
SEE ALSO
glutMouseFunc(3) glutPassiveMotion(3) Epoch
Related Man Pages
gluttabletbuttonfunc(3glut) - mojave
gluttabletbuttonfunc(3glut) - redhat
glutcreatemenuwindow(3) - centos
glutmousefunc(3) - centos
glutspecialfunc(3) - centos
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