- Timestamp:
- Apr 23, 2008, 3:28:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLSceneHandler.cc
r754 r789 25 25 // 26 26 // 27 // $Id: G4OpenGLSceneHandler.cc,v 1.5 3 2008/02/01 06:26:45allison Exp $27 // $Id: G4OpenGLSceneHandler.cc,v 1.54 2008/04/04 13:32:22 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 736 736 u_knot_array = u_knot_array_ptr = new GLfloat [nurb.GetnbrKnots(G4NURBS::U)]; 737 737 G4NURBS::KnotsIterator u_iterator (nurb, G4NURBS::U); 738 while (u_iterator.pick (u_knot_array_ptr++)) ;738 while (u_iterator.pick (u_knot_array_ptr++)){} 739 739 740 740 GLfloat *v_knot_array, *v_knot_array_ptr; 741 741 v_knot_array = v_knot_array_ptr = new GLfloat [nurb.GetnbrKnots(G4NURBS::V)]; 742 742 G4NURBS::KnotsIterator v_iterator (nurb, G4NURBS::V); 743 while (v_iterator.pick (v_knot_array_ptr++)) ;743 while (v_iterator.pick (v_knot_array_ptr++)){} 744 744 745 745 GLfloat *ctrl_pnt_array, *ctrl_pnt_array_ptr; … … 747 747 new GLfloat [nurb.GettotalnbrCtrlPts () * G4NURBS::NofC]; 748 748 G4NURBS::CtrlPtsCoordsIterator c_p_iterator (nurb); 749 while (c_p_iterator.pick (ctrl_pnt_array_ptr++)) ;749 while (c_p_iterator.pick (ctrl_pnt_array_ptr++)){} 750 750 751 751 // Get vis attributes - pick up defaults if none.
Note: See TracChangeset
for help on using the changeset viewer.