added missing code-changes (mainly eval)

This commit is contained in:
2016-03-17 17:27:08 +01:00
parent 00d3033eef
commit 4c1e73e3cf
12 changed files with 801 additions and 121 deletions

View File

@@ -21,7 +21,8 @@ public:
float getWeightBetween(const MyGridNode& n1, const MyGridNode& n2) const {
float d = ((Point3)n1 - (Point3)n2).length(2) ;
//if (d > 20) {d*= 1.30;}
d /= std::pow(n2.imp, 3);
//d /= std::pow(n2.imp, 3);
d /= n2.imp;
return d;
}