Workaround for stupid float errors in boxKDE 3D

This commit is contained in:
2018-08-01 16:01:49 +02:00
parent cbba812558
commit 9388e6e725
4 changed files with 34 additions and 72 deletions

View File

@@ -95,10 +95,6 @@ namespace SMC {
NM::NavMeshLocation<Tria> tmpPos = mesh->getRandom().draw();
float weight = grid->fetch(tmpPos.pos.x, tmpPos.pos.y, tmpPos.pos.z);
if(weight < 0 ){
int halloBulli = 666;
}
dl.add(tmpPos.pos, weight);
}