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)
Check Out this Related Man Page
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)
hello ppl,
me and a friend, tired of waiting for nvidia to help the community creating a nvidia driver for bsd, decided to make yet another petition to deliver nvidia as a way of protest. didn't we buy a nvidia card just like a common windows or linux user? didn't we pay for it? so, why... (0 Replies)
Hi folks,
I want to rotate a string in Clock or Ani Clock wise.
That is
If the string is "TAMIL"
the out put should be
TAMIL
AMILT
MILTA
ILTAM
LTAMI
TAMIL
Please do help. (1 Reply)
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)
Hi,
i want to log rotate the /var/adm/messages file after reaching the specified limit and delete those logs. how do i do that.
i you solaris 10 OS ,Please help me in doing the same.... (2 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)
Hi,
I have below script in logrotate.d to rotate logs.
logs are not rotating after the file grow to 1k, do you have any idea? Is it because of it just only 1K?
Please let me know if the below syntax is in correct.
# more trotate
/sourcepath/*/servers/*/logs/*log... (2 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)
My problem: Both access and error logs do not rotate any more and get really large.
They are located here: /srv/www/+vHost name here+/logs/
Configuration seems to be here:
/etc/logrotate.conf => looks OK, including "size 10M" to avoid large files
(/etc/logrotate.d => is empty)
manually... (4 Replies)