search for: viewgl

Displaying 1 result from an estimated 1 matches for "viewgl".

Did you mean: view
2006 Jun 26
1
Patch for rgl with gcc 4.0 in R 2.3.0 on OS X
...ramework/Versions/2.3/Resources/library/rgl' --------------------- 2) The fix is below. It seems that gcc-4.0 does not want to convert an int* directly to a const GLint*, maybe because it might be possible to fool around with the underlying variable. To deal with this, I defined a GLint named viewgl and set it equal to the dereferenced value of the int* view. I then passed in the address of viewgl to the gluProject routine. This eliminated the error messages and allowed compilation. -----RELEVANT SECTION OF rgl/src/api.cpp BEFORE --- void rgl_user2window(int* successptr, int* idata, double*...