GLLOADMATRIX



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/mbind.2.html
mbind(2) - Set memory policy for a memory range (Man Page)
mbind() sets the NUMA memory policy, which consists of a policy mode and zero or more nodes, for the memory range starting with addr and continuing for len byte

manpages/pam.8.html
pam(8) - Pluggable Authentication Modules for Linux.........
pam.8 - This manual is intended to offer a quick introduction to Linux-PAM. For more information the reader is directed to the Linux-PAM system administrators g

manpages/posix_memalign.3.html
posix_memalign(3) - Allocate aligned memory - Linux man page
The function posix_memalign() allocates size bytes and places the address of the allocated memory in *memptr. The address of the allocated memory will be a mult

manpages/rtcwake.8.html
rtcwake(8) - enter a system sleep state until specified wake
This program is used to enter a system sleep state until specified wakeup time. This uses cross-platform Linux interfaces to enter a system sleep state, and lea

manpages/pam_time.8.html
pam_time(8) - PAM module for time control access (Man Page)
pam_time.8 - The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times o

manpages/ldap_url.3.html
ldap_url(3) - LDAP Uniform Resource Locator routines........
These routines support the use of LDAP URLs (Uniform Resource Locators) as detailed in RFC 4516. LDAP URLs look like this: ldap://hostport/dn[?attrs[?scope[?fil

manpages/glColor3sv.3gl.html
glColor3sv(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/CPANPLUS::Internals::Search.3pm.html
CPANPLUS::Internals::Search(3pm) - (unknown subject)........
The functions in this module are designed to find module(objects) based on certain criteria and return them. METHODS _search_module_tree( type => TYPE , allow =

manpages/getpgid.2.html
getpgid(2) - set/get process group - Linux manual page......
All of these interfaces are available on Linux, and are used for getting and setting the process group ID (PGID) of a process. The preferred, POSIX.1-specified

manpages/encoding.n.html
encoding(n) - Manipulate encodings - Linux manual page......
Performs one of several encoding related operations, depending on option. The legal options are: encoding convertfrom ?encoding? data Convert data to Unicode fr

manpages/getsockopt.2.html
getsockopt(2) - get and set options on sockets (Man Page)...
getsockopt() and setsockopt() manipulate options for the socket referred to by the file descriptor sockfd. Options may exist at multiple protocol levels; they a

manpages/ksymoops.8.html
ksymoops(8) - a utility to decode Linux kernel Oops.........
ksymoops extracts kernel Oops reports from the Oops.file and uses various sources of symbol information to convert the addresses and code to meaningful text. Re





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