EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #278 background imageLoading...
Page #278 background image
M
glMap2
Chapter 11
278
glMap2
glMap2d, glMap2f: define a two-dimensional evaluator.
C Specification
void glMap2d(
GLenum target,
GLdouble u1,
GLdouble u2,
GLint ustride,
GLint uorder,
GLdouble v1,
GLdouble v2,
GLint vstride,
GLint vorder,
const GLdouble *points)
void glMap2f(
GLenum target,
GLfloat u1,
GLfloat u2,
GLint ustride,
GLint uorder,
GLfloat v1,
GLfloat v2,
GLint vstride,
GLint vorder,
const GLfloat*points)
Parameters
target Specifies the kind of values that are generated by the evaluator.
Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4,
GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL,
GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2,
GL_MAP2_TEXTURE_COORD_3, and
GL_MAP2_TEXTURE_COORD_4 are accepted.
u1, u2 Specify a linear mapping of u, as presented to glEvalCoord2, to û, one
of the two variables that are evaluated by the equations specified by
this command. Initially, u1 is 0 and u2 is 1.
ustride Specifies the number of floats or doubles between the beginning of
control point R
ij
and the beginning of control point R
(i+1)j
, where i and j
are the u and v control point indices, respectively. This allows control
points to be embedded in arbitrary data structures. The only constraint
is that the values for a particular control point must occupy contiguous
memory locations. The initial value of ustride is 0.
uorder Specifies the dimension of the control point array in the u axis. Must be
positive. The initial value is 1.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals