mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
style fix
This commit is contained in:
@@ -20,19 +20,19 @@ namespace omath::pathfinding
|
|||||||
class NavigationMesh final
|
class NavigationMesh final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
std::expected<Vector3<float>, std::string> GetClosestVertex(const Vector3<float>& point) const;
|
std::expected<Vector3<float>, std::string> GetClosestVertex(const Vector3<float>& point) const;
|
||||||
|
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
const std::vector<Vector3<float>>& GetNeighbors(const Vector3<float>& vertex) const;
|
const std::vector<Vector3<float>>& GetNeighbors(const Vector3<float>& vertex) const;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
bool Empty() const;
|
bool Empty() const;
|
||||||
|
|
||||||
[[nodiscard]] std::vector<uint8_t> Serialize() const;
|
[[nodiscard]] std::vector<uint8_t> Serialize() const;
|
||||||
|
|
||||||
void Deserialize(const std::vector<uint8_t>& raw);
|
void Deserialize(const std::vector<uint8_t>& raw);
|
||||||
|
|
||||||
std::unordered_map<Vector3<float>, std::vector<Vector3<float>>> m_verTextMap;
|
std::unordered_map<Vector3<float>, std::vector<Vector3<float>>> m_verTextMap;
|
||||||
};
|
};
|
||||||
}
|
} // namespace omath::pathfinding
|
||||||
|
|||||||
Reference in New Issue
Block a user