Changeset 609 for trunk/geant4/visualization/OpenInventor
- Timestamp:
- Nov 16, 2007, 11:59:21 AM (18 years ago)
- Location:
- trunk/geant4/visualization/OpenInventor
- Files:
-
- 3 edited
-
History (modified) (2 diffs)
-
include/SoG4Polyhedron.h (modified) (2 diffs)
-
src/SoPolyhedron.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenInventor/History
r593 r609 1 $Id: History,v 1.9 3 2007/04/03 13:35:48 allisonExp $1 $Id: History,v 1.94 2007/10/23 14:56:35 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/OpenInventor 21 21 ------------------------------------------- 22 23 23rd October 2007 Gabriele Cosmo 24 - Initialise local vectors in SoPolyhedron.cc to fix compilation warnings 25 on gcc-4.2.2 for use of non-initialised values. 22 26 23 27 3rd April 2007 John Allison (openinventor-V08-02-02 - needs visman-V08-02-03) -
trunk/geant4/visualization/OpenInventor/include/SoG4Polyhedron.h
r593 r609 25 25 // 26 26 // 27 // $Id: SoG4Polyhedron.h,v 1. 2 2006/12/13 15:49:56 gunterExp $28 // GEANT4 tag $Name: geant4-09-00-ref-01$27 // $Id: SoG4Polyhedron.h,v 1.3 2007/09/17 16:08:00 gcosmo Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // John Allison 26th October 2006 … … 35 35 36 36 // Inheritance : 37 #include <Geant4_SoPolyhedron.h>37 #include "Geant4_SoPolyhedron.h" 38 38 #include "G4AttHolder.hh" 39 39 -
trunk/geant4/visualization/OpenInventor/src/SoPolyhedron.cc
r529 r609 129 129 SoTextureCoordinateElement::FUNCTION); 130 130 const SoTextureCoordinateElement *tce = NULL; 131 SbVec4f texCoord ;131 SbVec4f texCoord(0.,0.,0.,0.); 132 132 if (useTexFunction) { 133 133 tce = SoTextureCoordinateElement::getInstance(state); … … 416 416 int32_t* coords = new int32_t[ncoord]; 417 417 418 SbVec3f pvb ,pve;418 SbVec3f pvb(0.,0.,0.), pve(0.,0.,0.); 419 419 420 420 SbBool empty = TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.
