Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4OpenGLStoredSceneHandler.cc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// Andrew Walkden 10th February 1997
|
||||
@@ -32,14 +32,6 @@
|
||||
|
||||
#ifdef G4VIS_BUILD_OPENGL_DRIVER
|
||||
|
||||
// Included here - problems with HP compiler if not before other includes?
|
||||
#include "G4NURBS.hh"
|
||||
|
||||
// Here follows a special for Mesa, the OpenGL emulator. Does not affect
|
||||
// other OpenGL's, as far as I'm aware. John Allison 18/9/96.
|
||||
#define CENTERLINE_CLPP /* CenterLine C++ workaround: */
|
||||
// Also seems to be required for HP's CC and AIX xlC, at least.
|
||||
|
||||
#include "G4OpenGLStoredSceneHandler.hh"
|
||||
|
||||
#include "G4PhysicalVolumeModel.hh"
|
||||
@@ -538,18 +530,6 @@ void G4OpenGLStoredSceneHandler::AddPrimitive (const G4Polyhedron& polyhedron)
|
||||
}
|
||||
}
|
||||
|
||||
void G4OpenGLStoredSceneHandler::AddPrimitive (const G4NURBS& nurbs)
|
||||
{
|
||||
// Note: colour is still handled in
|
||||
// G4OpenGLSceneHandler::AddPrimitive(const G4NURBS&), so it still
|
||||
// gets into the display list
|
||||
G4bool furtherprocessing = AddPrimitivePreamble(nurbs);
|
||||
if (furtherprocessing) {
|
||||
G4OpenGLSceneHandler::AddPrimitive(nurbs);
|
||||
AddPrimitivePostamble();
|
||||
}
|
||||
}
|
||||
|
||||
void G4OpenGLStoredSceneHandler::BeginModeling () {
|
||||
G4VSceneHandler::BeginModeling();
|
||||
/* Debug...
|
||||
|
||||
Reference in New Issue
Block a user