merged
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user