Commit 8b3aad18 authored by Thomas Pitiot 's avatar Thomas Pitiot

what ?

parent 8f6a48f5
......@@ -47,6 +47,7 @@ void EnvMap::init(int argc, char **argv)
int nb = 1;
Algo::Volume::Tilings::Cubic::Grid<PFP> cubic(map, nb, nb, nb);
Algo::Volume::
cubic.embedIntoGrid(position, 1.0f, 1.0f, 1.0f);
// subdivideVolume(map.begin());
......
......@@ -253,7 +253,7 @@ void Needle::refine()
{
#ifdef IHMap
Dart volume = parts_[0]->d;
volume = sim_->envMap_.map.volumeOldestDart(volume);
volume = sim_->envMap_.map.volu0eOldestDart(volume);
PFP::VEC3 edge = Algo::Surface::Geometry::vectorOutOfDart<PFP>(sim_->envMap_.map, volume, sim_->envMap_.position) ;
if(edge.norm2() > 2.0f )
{
......
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