glMap1

define a one-dimensional evaluator

Signature

glMap1( )->
glMap1d( GLenum ( target ) , GLdouble ( u1 ) , GLdouble ( u2 ) , GLint ( stride ) , GLint ( order ) , const GLdouble * ( points ) )-> void
glMap1d( target , u1 , u2 , points )
glMap1(target, u1, u2, points[][][]) -> None

        This is a completely non-standard signature which doesn't allow for most
        of the funky uses with strides and the like, but it has been like this for
        a very long time...
        
glMap1f( GLenum ( target ) , GLfloat ( u1 ) , GLfloat ( u2 ) , GLint ( stride ) , GLint ( order ) , const GLfloat * ( points ) )-> void
glMap1f( target , u1 , u2 , points )
glMap1(target, u1, u2, points[][][]) -> None

        This is a completely non-standard signature which doesn't allow for most
        of the funky uses with strides and the like, but it has been like this for
        a very long time...
        

Parameters

VariablesDescription
target
Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3 , GL_MAP1_VERTEX_4 , GL_MAP1_INDEX , GL_MAP1_COLOR_4 , GL_MAP1_NORMAL , GL_MAP1_TEXTURE_COORD_1 , GL_MAP1_TEXTURE_COORD_2 , GL_MAP1_TEXTURE_COORD_3 , and GL_MAP1_TEXTURE_COORD_4 are accepted.
u1, u2
Specify a linear mapping of u , as presented to glEvalCoord1 , to u , the variable that is evaluated by the equations specified by this command.
stride
Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points . 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.
order
Specifies the number of control points. Must be positive.
points
Specifies a pointer to the array of control points.

MathML Rendering

Powered by MathJax