diff --git a/wrap/gl/glu_tessellator_cap.h b/wrap/gl/glu_tessellator_cap.h index 7f12302a..c11250d1 100644 --- a/wrap/gl/glu_tessellator_cap.h +++ b/wrap/gl/glu_tessellator_cap.h @@ -15,8 +15,9 @@ template void CapEdgeMesh(MeshType &em, MeshType &cm, bool revertFlag=false) { typedef typename MeshType::EdgeType EdgeType; - std::vector< std::vector > outlines; - std::vector outline; + typedef typename MeshType::CoordType CoordType; + std::vector< std::vector > outlines; + std::vector outline; UpdateFlags::EdgeClearV(em); UpdateTopology::EdgeEdge(em); int nv=0; @@ -51,7 +52,7 @@ void CapEdgeMesh(MeshType &em, MeshType &cm, bool revertFlag=false) std::vector indices; glu_tesselator::tesselate(outlines, indices); - std::vector points; + std::vector points; glu_tesselator::unroll(outlines, points); //typename MeshType::FaceIterator fi=tri::Allocator::AddFaces(cm,nv-2); typename MeshType::FaceIterator fi=tri::Allocator::AddFaces(cm,indices.size()/3);