Files
Webcam/include/modules/nav_detour/navmesh.h
2026-06-22 11:49:35 +02:00

41 lines
687 B
C++

/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
------------------------------------------------------------------------------*/
#ifndef __NAVMESH__
#define __NAVMESH__
namespace GS {
namespace Core { class Geometry; }
namespace Nav {
class Mesh
{
public:
/// Agent configuration.
struct AgentConfig
{
float height,
radius,
max_climb;
};
/// Build configuration.
struct BuildConfig
{
AgentConfig agent;
};
/// Build navigation mesh from configuration.
bool Build(const Core::Geometry *, const BuildConfig &);
};
} // Nav
} // GS
#endif // __NAVMESH__