GLROTATE
NAMEC SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO
NAME
glRotated, glRotatef − multiply the current matrix by a rotation matrix
C SPECIFICATION
void glRotated( GLdouble angle,
GLdouble x, | |
GLdouble y, | |
GLdouble z ) |
void glRotatef( GLfloat angle,
GLfloat x, | |
GLfloat y, | |
GLfloat z ) |
PARAMETERS
angle |
Specifies the angle of rotation, in degrees. |
x, y, z
Specify the x, y, and z coordinates of a vector, respectively.
DESCRIPTION
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.
NOTES
This rotation follows the right-hand rule, so if the vector $("x", "y", "z")$ points toward the user, the rotation will be counterclockwise.
ERRORS
GL_INVALID_OPERATION is generated if glRotate is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet
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
SEE ALSO
glMatrixMode(3G), glMultMatrix(3G), glPushMatrix(3G), glScale(3G), glTranslate(3G)
More Linux Commands
manpages/gnutls_x509_crt_get_issuer_alt_name.3.html
gnutls_x509_crt_get_issuer_alt_name(3) - API function.......
This function retrieves the Issuer Alternative Name (2.5.29.18), contained in the given certificate in the X509v3 Certificate Extensions. When the SAN type is o
manpages/gslj.1.html
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
manpages/glIndexsv.3gl.html
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
manpages/wipefs.8.html
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
manpages/screen.1.html
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
manpages/Encode::Detect::Detector.3pm.html
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
manpages/standards.7.html
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
manpages/psfxtable.1.html
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
manpages/XSetDeviceMode.3.html
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
manpages/glLightModel.3gl.html
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
manpages/set_max_field.3form.html
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
manpages/vmsplice.2.html
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
