Does anyone know why the following VB code doesn’t work?
Dim modelview(16) as GLfloat
glGetFloatv glgModelViewMatrix, modelview
It says it’s a “ByRef argument type mismatch”. Am I defining the matrices incorrectly? How do you pass the matrix to a GL function? Anyway, thanks in advance!