typenames
This commit is contained in:
parent
66c083f919
commit
96adfb6f7c
wrap/gl
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue