removed usless code added constexpr

This commit is contained in:
2024-09-03 21:35:48 +03:00
parent cb8c720f03
commit f412d688de
6 changed files with 14 additions and 22 deletions

View File

@@ -10,7 +10,7 @@
namespace omath::pathfinding
{
class Astar
class Astar final
{
public:
[[nodiscard]]

View File

@@ -12,19 +12,12 @@
namespace omath::pathfinding
{
struct NavigationVertex
{
Vector3 origin;
std::vector<NavigationVertex*> connections;
};
class NavigationMesh final
{
public:
[[nodiscard]]
std::expected<Vector3, std::string> GetClossestVertex(const Vector3& point) const;
std::expected<Vector3, std::string> GetClosestVertex(const Vector3& point) const;
[[nodiscard]]