/* -----------------------------------------------------------------------------
	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__
