GLLOADMATRIX


HOME

GLLOADMATRIX

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO

NAME

glLoadMatrixd, glLoadMatrixf − replace the current matrix with the specified matrix

C SPECIFICATION

void glLoadMatrixd( const GLdouble *m )
void glLoadMatrixf( const GLfloat *m )

PARAMETERS

m

Specifies a pointer to 16 consecutive values, which are used as the elements of a $4 ~times~ 4$ column-major matrix.

DESCRIPTION

glLoadMatrix replaces the current matrix with the one whose elements are specified by m. The current matrix is the projection matrix, modelview matrix, or texture matrix, depending on the current matrix mode (see glMatrixMode).

The current matrix, M, defines a transformation of coordinates. For instance, assume M refers to the modelview matrix. If $v ~=~ (v[0], v[1], v[2], v[3])$ is the set of object coordinates of a vertex, and m points to an array of $16$ single- or double-precision floating-point values $m[0], m[1],. . .,m[15]$, then the modelview transformation $M(v)$ does the following:

Where ‘‘$times$’’ denotes matrix multiplication.

Projection and texture transformations are similarly defined.

NOTES

While the elements of the matrix may be specified with single or double precision, the GL implementation may store or operate on these values in less than single precision.

ERRORS

GL_INVALID_OPERATION is generated if glLoadMatrix 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

glLoadIdentity(3G), glMatrixMode(3G), glMultMatrix(3G), glPushMatrix(3G)



More Linux Commands

manpages/ccoshl.3.html
ccoshl(3) - complex hyperbolic cosine - Linux manual page...
The complex hyperbolic cosine function is defined as: ccosh(z) = (exp(z)+exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING

manpages/unstr.1.html
unstr(1) create a random access file for storing strings br
strfile reads a file containing groups of lines separated by a line containing a single percent % sign (or other specified delimiter character) and creates a da

manpages/Tcl_ChannelSetOptionProc.3.html
Tcl_ChannelSetOptionProc(3) - procedures for creating and ma
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/wait.2.html
wait(2) - wait for process to change state - Linux man page
All of these system calls are used to wait for state changes in a child of the calling process, and obtain information about the child whose state has changed.

manpages/SDL_JoystickGetButton.3.html
SDL_JoystickGetButton(3) - Get the current state of a given
SDL_JoystickGetButton returns the current state of the given button on the given joystick. RETURN VALUE 1 if the button is pressed. Otherwise, 0. SEE ALSO SDL_J

manpages/rpmdeps.8.html
rpmdeps(8) - Generate RPM Package Dependencies (Man Page)...
rpmdeps generates package dependencies for the set of FILE arguments. Each FILE argument is searched for Elf32/Elf64, script interpreter, or per-script dependen

manpages/XML::PatAct::MatchName.3pm.html
XML::PatAct::MatchName(3pm) - A pattern module for matching
XML::PatAct::MatchName is a pattern module for use with PatAct drivers for applying pattern-action lists to XML parses or trees. XML::PatAct::MatchName is a sim

manpages/regtree.1.html
regtree(1) Textmode registry viewer - Linux manual page.....
The regtree utility prints out all the contents of a Windows registry file. Subkeys are printed with one level more indentation than their parents. OPTIONS --he

manpages/XListPixmapFormats.3.html
XListPixmapFormats(3) - image format functions and macros...
The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format images supported by the specified display

manpages/isprint_l.3.html
isprint_l(3) character classification functions (Man Page)
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/logger.1.html
logger(1) - a shell command interface to the syslog(3) syste
logger makes entries in the system log. It provides a shell command interface to the syslog(3) system log module. OPTIONS -d, --udp Use datagram (UDP) only. By

manpages/Encode::JP.3pm.html
Encode::JP(3pm) - Japanese Encodings - Linux manual page....
To find out how to use this module in detail, see Encode. Note on ISO-2022-JP(-1)? ISO-2022-JP-1 ( RFC2237 ) is a superset of ISO-2022-JP ( RFC1468 ) which adds





We can't live, work or learn in freedom unless the software we use is free.