Building igl statically and moving to the dep scripts

Fixing dep build script on Windows and removing some warnings.

Use bundled igl by default.

Not building with the dependency scripts if not explicitly stated. This way, it will stay in
Fix the libigl patch to include C source files in header only mode.
This commit is contained in:
tamasmeszaros
2019-06-19 14:52:55 +02:00
parent 89e39e3895
commit 2ae2672ee9
1095 changed files with 181 additions and 5 deletions

30
src/libigl/igl/ears.h Normal file
View File

@@ -0,0 +1,30 @@
#ifndef IGL_EARS_H
#define IGL_EARS_H
#include "igl_inline.h"
#include <Eigen/Core>
namespace igl
{
// FIND_EARS Find all ears (faces with two boundary edges) in a given mesh
//
// [ears,ear_opp] = find_ears(F)
//
// Inputs:
// F #F by 3 list of triangle mesh indices
// Outputs:
// ears #ears list of indices into F of ears
// ear_opp #ears list of indices indicating which edge is non-boundary
// (connecting to flops)
//
template <
typename DerivedF,
typename Derivedear,
typename Derivedear_opp>
IGL_INLINE void ears(
const Eigen::MatrixBase<DerivedF> & F,
Eigen::PlainObjectBase<Derivedear> & ear,
Eigen::PlainObjectBase<Derivedear_opp> & ear_opp);
}
#ifndef IGL_STATIC_LIBRARY
# include "ears.cpp"
#endif
#endif