Commit 825a10ea authored by Pierre Kraemer's avatar Pierre Kraemer

Merge branch 'develop'

parents 7d922fb0 f0e1b718
......@@ -42,12 +42,11 @@ namespace Geometry
{
template <typename PFP>
bool isConvex(typename PFP::MAP& map, Dart d, const VertexAttribute<typename PFP::VEC3, typename PFP::MAP::IMPL>& position, bool CCW, unsigned int thread)
bool isConvex(typename PFP::MAP& map, Vol v, const VertexAttribute<typename PFP::VEC3, typename PFP::MAP::IMPL>& position, bool CCW, unsigned int thread)
{
//get all the dart of the volume
std::vector<Dart> vStore;
FunctorStore fs(vStore);
map.foreach_dart_of_volume(d, fs, thread);
map.foreach_dart_of_orbit(v, [&] (Dart d) { vStore.push_back(d); }, thread);
bool convex = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment