Look at what OpenGL asks for:
What you're passing it is a GLfloat****, that is the address of a triple pointer.
Now, there's a specific reason as to why it makes absolutely no sense to send a multidimensional array to an OpenGL function. It doesn't know the bounds of the array. If you were to send it that three dimensional array, it wouldn't be able to figure out how to dereference the array properly without passing it a plethora of extra parameters. OpenGL functions already take enough parameters to require pushing them onto the stack, but the fewer the better.
The bluebook has this listed:
Click Me!
That should at least be a start on understanding what you need to send that function.
Here's what the bluebook says about that parameter:
Quote:
|
Originally Posted by The OpenGL Bluebook v1.0
Specifies an array containing control points for the NURBS surface. The offsets between successive control points in the parametric u and v directions are given by s_stride and t_stride.
|