Hi,
The following piece of code gives me an error and I'm not able nor to round it ,neither to understand it .
enter code here
GLdouble objX,objY,objZ;
GLdouble modelview1[4][4], projection1[4][4];
GLint viewport1[4];
glGetDoublev( GL_MODELVIEW_MATRIX, *modelview1 );
glGetDoublev( GL_PROJECTION_MATRIX, *projection1 );
glGetIntegerv( GL_VIEWPORT, viewport1 );
gluUnProject(x, y, z, modelview1, projection1, viewport1, objX , objY , objZ);`
the error :
`Error 1 error C2664: 'gluUnProject' : cannot convert parameter 4 from 'GLdouble [4][4]' to 'const GLdouble []'