Displaying 1 result from an estimated 1 matches for "getanydevice".
2006 Jun 26
1
Patch for rgl with gcc 4.0 in R 2.3.0 on OS X
...ion.
-----RELEVANT SECTION OF rgl/src/api.cpp BEFORE ---
void rgl_user2window(int* successptr, int* idata, double* point, double*
pixel, double* model, double* proj, int* view)
{
int success = RGL_FAIL;
GLdouble* vertex = pixel;
int columns = idata[0];
Device* device = deviceManager->getAnyDevice();
if ( device ) {
for (int i=0; i<columns; i++) {
gluProject(point[0],point[1],point[2],model,proj,view,
vertex,vertex+1,vertex+2);
vertex[0] /= view[2];
vertex[1] /= view[3];
point += 3;...