glRotated, glRotatef − multiply the current matrix by a rotation matrix
void glRotated( GLdouble angle,
GLdouble z )
void glRotatef( GLfloat angle,
GLfloat z )
Specifies the angle of rotation, in degrees.
x, y, z
Specify the x, y, and z coordinates of a vector, respectively.
glRotate produces a rotation of angle degrees around the vector $("x", "y", "z")$. The current matrix (see glMatrixMode) is multiplied by a rotation matrix with the product replacing the current matrix, as if glMultMatrix were called with the following matrix as its argument:
Where $c ~=~ cos ("angle")$, $s ~=~ sin ("angle")$, and $||(~"x", "y", "z"~)|| ~=~ 1$ (if not, the GL will normalize this vector).
If the matrix mode is either GL_MODELVIEW or GL_PROJECTION, all objects drawn after glRotate is called are rotated. Use glPushMatrix and glPopMatrix to save and restore the unrotated coordinate system.
This rotation follows the right-hand rule, so if the vector $("x", "y", "z")$ points toward the user, the rotation will be counterclockwise.
GL_INVALID_OPERATION is generated if glRotate is executed between the execution of glBegin and the corresponding execution of glEnd.
with argument GL_MATRIX_MODE
glGet with argument GL_COLOR_MATRIX
glGet with argument GL_MODELVIEW_MATRIX
glGet with argument GL_PROJECTION_MATRIX
glGet with argument GL_TEXTURE_MATRIX
glMatrixMode(3G), glMultMatrix(3G), glPushMatrix(3G), glScale(3G), glTranslate(3G)
More Linux Commands
gnutls_x509_crt_get_issuer_alt_name(3) - API function.......
This function retrieves the Issuer Alternative Name (188.8.131.52), contained in the given certificate in the X509v3 Certificate Extensions. When the SAN type is o
gslj(1) Format and print text using ghostscript br gsbj Form
This utility provides functionality approximately equivalent to the Unix enscript(1) program. It prints plain text files using a single font. It currently handl
glIndexsv(3gl) - set the current color index (Man Page).....
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index. The current index is stored as a floa
wipefs(8) - wipe a filesystem signature from a device.......
wipefs can erase filesystem, raid or partition-table signatures (magic strings) from the specified device to make the signatures invisible for libblkid. wipefs
screen(1) - screen manager with VT100/ANSI terminal emulatio
Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal prov
Encode::Detect::Detector(3pm) - Detects the encoding of data
This module provides an interface to Mozillas universal charset detector, which detects the charset used to encode data. METHODS $charset = Encode::Detect::Dete
standards(7) - C and UNIX Standards - Linux manual page.....
The CONFORMING TO section that appears in many manual pages identifies various standards to which the documented interface conforms. The following list briefly
psfxtable(1) - handle Unicode character tables for console f
psfxtable handles the embedded Unicode character table for .psf format console fonts. It reads a font and possibly a table and writes a font and/or a table. psf
XSetDeviceMode(3) - change the mode of a device (Man Page)
The XSetDeviceMode request changes the mode of an input device that is capable of reporting either absolute positional information or relative motion informatio
glLightModel(3gl) - set the lighting model parameters.......
glLightModel sets the lighting model parameter. pname names a parameter and params gives the new value. There are three lighting model parameters: GL_LIGHT_MODE
set_max_field(3form) - field buffer control - Linux man page
The function set_field_buffer sets the numbered buffer of the given field to contain a given string: * Buffer 0 is the displayed value of the field. * Other num
vmsplice(2) - splice user pages into a pipe - Linux man page
The vmsplice() system call maps nr_segs ranges of user memory described by iov into a pipe. The file descriptor fd must refer to a pipe. The pointer iov points