Import Geant4 1.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4OpenGLViewer.cc,v 1.3.8.1 1999/12/07 20:53:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4OpenGLViewer.cc,v 1.4 1999/12/15 14:54:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
//
|
||||
// Andrew Walkden 27th March 1996
|
||||
@@ -198,7 +198,7 @@ void G4OpenGLViewer::HaloingSecondPass () {
|
||||
|
||||
void G4OpenGLViewer::HLRFirstPass () {
|
||||
|
||||
G4cout << "First pass HLR" << endl;
|
||||
G4cout << "First pass HLR" << G4endl;
|
||||
|
||||
//Hidden line drawing requires three renderings to different buffers, so it
|
||||
//cannot be treated in G4OpenGLSceneHandler alone (as can wireframe or hidden
|
||||
@@ -243,7 +243,7 @@ void G4OpenGLViewer::HLRFirstPass () {
|
||||
|
||||
void G4OpenGLViewer::HLRSecondPass () {
|
||||
|
||||
G4cout << "Second pass HLR" << endl;
|
||||
G4cout << "Second pass HLR" << G4endl;
|
||||
|
||||
//2) Use the stencil buffer to mask out pixels where stencil value = 1, and
|
||||
// render to the stencil buffer as depth tested filled polygons.
|
||||
@@ -266,7 +266,7 @@ void G4OpenGLViewer::HLRThirdPass () {
|
||||
//3) Turn off the stencil buffer, turn on the colour buffer
|
||||
// and render polygons in wireframe mode.
|
||||
|
||||
G4cout << "Third pass HLR" << endl;
|
||||
G4cout << "Third pass HLR" << G4endl;
|
||||
|
||||
glDisable (GL_STENCIL_TEST);
|
||||
glColorMask (GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
|
||||
Reference in New Issue
Block a user