Signature
Parameters
Variables | Description |
---|---|
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
,
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
and the beginning of control point
,
where
and
are the
and
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
axis.
Must be positive. The initial value is 1.
|
v1, v2 |
Specify a linear mapping of
,
as presented to
glEvalCoord2
,
to
,
one of the two variables that are evaluated by the equations specified
by this command. Initially,
v1
is 0 and
v2
is 1.
|
vstride |
Specifies the number of floats or doubles between
the beginning of control point
and the beginning of control point
,
where
and
are the
and
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
vstride
is 0.
|
vorder |
Specifies the dimension of the control point array in the
axis.
Must be positive. The initial value is 1.
|
points |
Specifies a pointer to the array of control points.
|
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glMap2f