Import Geant4 7.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VRML2Viewer.cc,v 1.10 2004/12/07 23:41:01 perl Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-03 $
|
||||
// $Id: G4VRML2Viewer.cc,v 1.11 2005/06/02 17:43:47 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
//
|
||||
// G4VRML2Viewer.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -44,10 +44,12 @@
|
||||
#include "G4VRML2.hh"
|
||||
#include "G4ios.hh"
|
||||
|
||||
G4VRML2Viewer::G4VRML2Viewer(G4VRML2SceneHandler& scene, const G4String& name) :
|
||||
G4VViewer(scene, scene.IncrementViewCount(), name),
|
||||
fSceneHandler(scene),
|
||||
fDest(scene.fDest)
|
||||
G4VRML2Viewer::G4VRML2Viewer(G4VRML2SceneHandler& sceneHandler, const G4String& name) :
|
||||
G4VViewer(sceneHandler,
|
||||
sceneHandler.IncrementViewCount(),
|
||||
name),
|
||||
fSceneHandler(sceneHandler),
|
||||
fDest(sceneHandler.fDest)
|
||||
{
|
||||
fViewHalfAngle = 0.5 * 0.785398 ; // 0.5 * 45*deg
|
||||
fsin_VHA = std::sin ( fViewHalfAngle ) ;
|
||||
|
||||
Reference in New Issue
Block a user