typenames

This commit is contained in:
ganovelli 2007-07-05 16:35:14 +00:00
parent 66c083f919
commit 96adfb6f7c
1 changed files with 3 additions and 3 deletions

View File

@ -201,7 +201,7 @@ private:
template <ColorMode cm > template <ColorMode cm >
void _DrawSmallTetra(){ void _DrawSmallTetra(){
Point3x p[4],br; Point3x p[4],br;
CONT_TETRA::iterator it; typename CONT_TETRA::iterator it;
glPushAttrib(0xffffffff); glPushAttrib(0xffffffff);
glEnable(GL_COLOR_MATERIAL); glEnable(GL_COLOR_MATERIAL);
glEnable(GL_LIGHT0); glEnable(GL_LIGHT0);
@ -245,7 +245,7 @@ void _DrawFlatWire(){
template <DrawMode dm,NormalMode nm,ColorMode cm > template <DrawMode dm,NormalMode nm,ColorMode cm >
void _DrawSurface(){ void _DrawSurface(){
CONT_TETRA::iterator it; typename CONT_TETRA::iterator it;
glPushAttrib(0xffff); glPushAttrib(0xffff);
glEnable(GL_COLOR_MATERIAL); glEnable(GL_COLOR_MATERIAL);
@ -435,4 +435,4 @@ void _DrawSmallTetra(TetraType &t)
} // end namespace tetra } // end namespace tetra
} // end nemaspace tri } // end nemaspace tri
#endif #endif