|
@@ -41,6 +41,12 @@ IGL_INLINE void igl::intrinsic_delaunay_triangulation(
|
|
typedef typename Derivedl::Scalar Scalar;
|
|
typedef typename Derivedl::Scalar Scalar;
|
|
const Index num_faces = F.rows();
|
|
const Index num_faces = F.rows();
|
|
|
|
|
|
|
|
+ std::vector<Index> face_queue;
|
|
|
|
+ face_queue.reserve(32);
|
|
|
|
+ std::vector<Index> pushed;
|
|
|
|
+
|
|
|
|
+ pushed.reserve(32);
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -51,11 +57,6 @@ IGL_INLINE void igl::intrinsic_delaunay_triangulation(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- std::vector<Index> face_queue;
|
|
|
|
- face_queue.reserve(32);
|
|
|
|
- std::vector<Index> pushed;
|
|
|
|
-
|
|
|
|
- pushed.reserve(32);
|
|
|
|
const auto edge_exists_near =
|
|
const auto edge_exists_near =
|
|
[&](const Index & a,const Index & b,const Index & uei)->bool
|
|
[&](const Index & a,const Index & b,const Index & uei)->bool
|
|
{
|
|
{
|