define a one- or two-dimensional mesh
Signature
glMapGrid1d(
GLint (
un
)
,
GLdouble (
u1
)
,
GLdouble (
u2
)
)-> void
glMapGrid1f(
GLint (
un
)
,
GLfloat (
u1
)
,
GLfloat (
u2
)
)-> void
glMapGrid2d(
GLint (
un
)
,
GLdouble (
u1
)
,
GLdouble (
u2
)
,
GLint (
vn
)
,
GLdouble (
v1
)
,
GLdouble (
v2
)
)-> void
glMapGrid2f(
GLint (
un
)
,
GLfloat (
u1
)
,
GLfloat (
u2
)
,
GLint (
vn
)
,
GLfloat (
v1
)
,
GLfloat (
v2
)
)-> void
Parameters
Variables | Description |
un
|
Specifies the number of partitions in the grid range interval
[
u1
,
u2
].
Must be positive.
|
u1, u2
|
Specify the mappings for integer grid domain values
i=0
and
i=un
.
|
vn
|
Specifies the number of partitions in the grid range interval
[
v1
,
v2
]
(
glMapGrid2
only).
|
v1, v2
|
Specify the mappings for integer grid domain values
j=0
and
j=vn
(
glMapGrid2
only).
|
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.