- Timestamp:
- Feb 18, 2009, 10:59:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLSceneHandler.cc
r929 r930 368 368 // Draw... 369 369 /// if (sizeType == world) { // Size specified in world coordinates. 370 printf("G4OpenGLSceneHandler::AddCircleSquare world\n");371 DrawXYPolygon (shape, size, centre, pVA);370 // printf("G4OpenGLSceneHandler::AddCircleSquare world\n"); 371 // DrawXYPolygon (shape, size, centre, pVA); 372 372 373 373 // } else { // Size specified in screen (window) coordinates. 374 374 // printf("G4OpenGLSceneHandler::AddCircleSquare bitmap\n"); 375 375 376 //glRasterPos3d(centre.x(),centre.y(),centre.z());377 //const GLubyte* marker =378 //G4OpenGLBitMapStore::GetBitMap(shape, size, filled);379 //glPixelStorei(GL_UNPACK_ALIGNMENT, 1);380 //glBitmap(GLsizei(size), GLsizei(size), size/2., size/2., 0., 0., marker);376 glRasterPos3d(centre.x(),centre.y(),centre.z()); 377 const GLubyte* marker = 378 G4OpenGLBitMapStore::GetBitMap(shape, size, filled); 379 glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 380 glBitmap(GLsizei(size), GLsizei(size), size/2., size/2., 0., 0., marker); 381 381 // } 382 382 }
Note: See TracChangeset
for help on using the changeset viewer.