This commit is contained in:
toni
2018-02-12 13:48:11 +01:00
22 changed files with 1803 additions and 1055 deletions

View File

@@ -20,6 +20,7 @@ namespace NM {
template <typename Tria> float inMeter(const int steps, const NavMeshLocation<Tria>& start) const {
Assert::isTrue(isValid(), "invalid step-sizes given");
Assert::isNotNull(start.tria, "no starting triangle given");
if (start.tria->getType() == (int) NM::NavMeshType::STAIR_SKEWED) {
return stepSizeStair_m * steps;