Add DefaultQueryExtent to navmesh properties

This commit is contained in:
Wojtek Figat
2021-04-07 17:17:41 +02:00
parent 25a9dcad8a
commit 438135975f
4 changed files with 33 additions and 10 deletions

View File

@@ -146,7 +146,7 @@ bool NavAreaProperties::operator==(const NavAreaProperties& other) const
bool NavMeshProperties::operator==(const NavMeshProperties& other) const
{
return Name == other.Name && Quaternion::NearEqual(Rotation, other.Rotation, 0.001f) && Agent == other.Agent;
return Name == other.Name && Quaternion::NearEqual(Rotation, other.Rotation, 0.001f) && Agent == other.Agent && Vector3::NearEqual(DefaultQueryExtent, other.DefaultQueryExtent);
}
class NavigationService : public EngineService