mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 23:13:26 +00:00
20 lines
344 B
C++
20 lines
344 B
C++
//
|
|
// Created by Vlad on 28.07.2024.
|
|
//
|
|
|
|
#pragma once
|
|
#include <vector>
|
|
#include "NavigationMesh.h"
|
|
#include "omath/Vector3.h"
|
|
|
|
|
|
namespace omath::pathfinding
|
|
{
|
|
class Astar
|
|
{
|
|
public:
|
|
[[nodiscard]]
|
|
static std::vector<Vector3> FindPath(const Vector3& start, const Vector3& end, const NavigationMesh& navMesh);
|
|
|
|
};
|
|
} |