Description
Source
Call Graph
mouseWheelCallback
( Static Functions )
Creates a callback in FreeGLUT for when the mouse wheel is moved.


Syntax / parameters
void mouseWheelCallback(int wheel, int direction, int x, int y) |
Name |
Type |
Default |
Description |
wheel |
int
|
|
The mouse wheel moved
|
direction |
int
|
|
The direction it was moved
|
x |
int
|
|
The x coordinate of the mouse relative to the window The y coordinate of the mouse relative to the window
|
y |
int
|
|
|
Description
Creates a callback in FreeGLUT for when the mouse wheel is moved.
Source
The documentation for this Member was generated from the following file: