diff --git a/include/Algo/Render/GL1/map_glRender.hpp b/include/Algo/Render/GL1/map_glRender.hpp index 777a1428b4114f0902182545525b7fcc9599c5ba..2de68eaaec538e5b2f1f7dc907f7739a296b5813 100644 --- a/include/Algo/Render/GL1/map_glRender.hpp +++ b/include/Algo/Render/GL1/map_glRender.hpp @@ -118,7 +118,7 @@ void renderTriQuadPoly(typename PFP::MAP& the_map, RenderType rt, float explode, glBegin(GL_TRIANGLES); - the_map.foreach_orbit(FACE, fgl_tri, good); + the_map.template foreach_orbit(fgl_tri, good); glEnd(); // get untreated quads & polygons @@ -177,7 +177,7 @@ void renderNormalVertices(typename PFP::MAP& the_map, const VertexAttribute fgl_norm(the_map, good, position, normal, scale); glBegin(GL_LINES); - the_map.foreach_orbit(VERTEX, fgl_norm, good); + the_map.template foreach_orbit(fgl_norm, good); glEnd(); } @@ -187,7 +187,7 @@ void renderFrameVertices(typename PFP::MAP& the_map, const VertexAttribute fgl_frame(the_map, good, position, frame, scale) ; glBegin(GL_LINES) ; - the_map.foreach_orbit(VERTEX, fgl_frame, good) ; + the_map.template foreach_orbit(fgl_frame, good) ; glEnd(); } diff --git a/include/Utils/colorMaps.h b/include/Utils/colorMaps.h index d907138b22c371a9339978cff2b8ad0dd38edee2..097c765c1b17759444a7cddb3e76f25aa1fb50c6 100644 --- a/include/Utils/colorMaps.h +++ b/include/Utils/colorMaps.h @@ -117,5 +117,3 @@ float scale_to_0_1_around_one_half(float x, float min, float max); #endif - -