Import Geant4 7.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VRML2Viewer.cc,v 1.9 2002/06/23 03:31:51 stanaka Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02-patch-01 $
|
||||
// $Id: G4VRML2Viewer.cc,v 1.10 2004/12/07 23:41:01 perl Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-03 $
|
||||
//
|
||||
// G4VRML2Viewer.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
//#define DEBUG_FR_VIEW
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "G4Scene.hh"
|
||||
#include "G4VRML2Viewer.hh"
|
||||
@@ -50,7 +50,7 @@ G4VRML2Viewer::G4VRML2Viewer(G4VRML2SceneHandler& scene, const G4String& name) :
|
||||
fDest(scene.fDest)
|
||||
{
|
||||
fViewHalfAngle = 0.5 * 0.785398 ; // 0.5 * 45*deg
|
||||
fsin_VHA = sin ( fViewHalfAngle ) ;
|
||||
fsin_VHA = std::sin ( fViewHalfAngle ) ;
|
||||
}
|
||||
|
||||
G4VRML2Viewer::~G4VRML2Viewer()
|
||||
|
||||
Reference in New Issue
Block a user