| 77 | } |
| 78 | |
| 79 | float dtQueryFilter::getCost(const float* pa, const float* pb, |
| 80 | const dtPolyRef /*prevRef*/, const dtMeshTile* /*prevTile*/, const dtPoly* /*prevPoly*/, |
| 81 | const dtPolyRef /*curRef*/, const dtMeshTile* /*curTile*/, const dtPoly* curPoly, |
| 82 | const dtPolyRef /*nextRef*/, const dtMeshTile* /*nextTile*/, const dtPoly* /*nextPoly*/) const |
| 83 | { |
| 84 | return dtVdist(pa, pb) * m_areaCost[curPoly->getArea()]; |
| 85 | } |
| 86 | #else |
| 87 | inline bool dtQueryFilter::passFilter(const dtPolyRef /*ref*/, |
| 88 | const dtMeshTile* /*tile*/, |
no test coverage detected