glutSpaceballRotateFunc(3GLUT) GLUT glutSpaceballRotateFunc(3GLUT)NAME
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window.
SYNTAX
#include <GLUT/glut.h>
void glutSpaceballRotateFunc(void (*func)(int x, int y, int z));
ARGUMENTS
func The new spaceball rotate callback function.
DESCRIPTION
glutSpaceballRotateFunc sets the Spaceball rotate callback for the current window. The Spaceball rotate callback for a window is called
when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball rotations. The x, y,
and z callback parameters indicate the rotation along the X, Y, and Z axes. The callback parameters are normalized to be within the range
of -1800 to 1800 inclusive.
Registering a Spaceball rotate callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space-
ball rotate callbacks will be generated.
Passing NULL to glutSpaceballRotateFunc disables the generation of Spaceball rotate callbacks. When a new window is created, no Spaceball
rotate callback is initially registered.
SEE ALSO
glutSpaceballMotionFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutSpaceballRotateFunc(3GLUT)
Check Out this Related Man Page
glutSpaceballRotateFunc(3GLUT) GLUT glutSpaceballRotateFunc(3GLUT)NAME
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window.
SYNTAX
void glutSpaceballRotateFunc(void (*func)(int x, int y, int z));
ARGUMENTS
func The new spaceball rotate callback function.
DESCRIPTION
glutSpaceballRotateFunc sets the Spaceball rotate callback for the current window. The Spaceball rotate callback for a window is called
when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball rotations. The x, y,
and z callback parameters indicate the rotation along the X, Y, and Z axes. The callback parameters are normalized to be within the range
of -1800 to 1800 inclusive.
Registering a Spaceball rotate callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space-
ball rotate callbacks will be generated.
Passing NULL to glutSpaceballRotateFunc disables the generation of Spaceball rotate callbacks. When a new window is created, no Spaceball
rotate callback is initially registered.
SEE ALSO
glutSpaceballMotionFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutSpaceballRotateFunc(3GLUT)
Hi , I have cronolog (http://cronolog.org/) setup to rotate both my error and access logs, but how can I use it to rotate my mod_jk.log file. I tried different things but cant get it to work. I want to end up where all three files will be rotated daily in YYYY/MM/DD folder format. thanks (0 Replies)
Hi,
I want to know how to write text in window and that is to be rotated in 3D using openGL in C language...
any answer will have value .... (0 Replies)
the 'rotate' setting in my logrotate configurations is being ignored when run from the crontab.
I have tested my configurations using the "-d" option, the rotation count is working when I do the test.
Here are my configuration settings, is there anything I am doing wrong?
# cat -n... (5 Replies)
Hi,
Am trying to write my own version of a log rotate scripts 'coz I don't have the logrotate for other flavors of *nix servers. Probably should try and download the source and re-compile but our SA don't want to do so.
Anyway, just want to know if there is any way to improve on the code... (0 Replies)
I need to rotate a file in HP-UX of a application. I´ve tried to do a task in the cron with a script (with sed and ed commands) but it was a successfully option (the application continued writing the file :( )
LINEAS_OUT=$(wc -l < $RMISTDOUT)
LINEAS_FIN=1,expr $LINEAS_OUT - 100p
sed... (19 Replies)
Hello guys.
i have couple of log files which i need to rotate them . so i need a script to run every 30 minutes in the server and rotate the log files if they size pass the 100MB.
would you please help me? (4 Replies)