Hi,
I have a real problem in that I am using VB.Net 2008 (with the Mesa
glu32.dll). NurbsVertexCallback has a delegate declaration as follows:
Delegate Sub NurbsVertexCallback(ByVal vertex() As Single)
Unfortunately, vertex only gets returned as an array of length 1 (i.e.
just the X coordinate). I have found a (very) few posts which seem to
indicate that there is a problem casting GLFloat* back to an array
in .Net.
In summary, glu32.dll declares vertexCallBack as:
vertexCallBack(const GLfloat *vert)
but this just gets converted back to:
NurbsVertexCallback(ByVal vertex As Single)
in .net.
Anyone know how to rectify this?
Thanks a lot
Simon