Refactor NavMesh into NavMeshRuntime and make it internal

This commit is contained in:
Wojtek Figat
2020-12-15 15:48:42 +01:00
parent 3c3e0b93f0
commit 4a79df860d
7 changed files with 65 additions and 68 deletions

View File

@@ -14,7 +14,6 @@ NavLink::NavLink(const SpawnParams& params)
void NavLink::UpdateBounds()
{
// Cache bounds
const auto start = _transform.LocalToWorld(Start);
const auto end = _transform.LocalToWorld(End);
BoundingBox::FromPoints(start, end, _box);