Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
NavMeshDefines.h File Reference
#include <recastnavigation/Recast.h>
#include <recastnavigation/DetourNavMesh.h>
#include <recastnavigation/DetourNavMeshQuery.h>
#include <recastnavigation/DetourNavMeshBuilder.h>

Go to the source code of this file.

Classes

struct  Divide::AI::Navigation::PATHDATA
 

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::AI
 
namespace  Divide::AI::Navigation
 

Macros

#define DVD_NAVIGATION_MESH_DEFINES_H_
 
#define RECAST_UTIL_PROPERTIES
 

Enumerations

enum class  Divide::AI::Navigation::SamplePolyAreas : U8 {
  Divide::AI::Navigation::SAMPLE_POLYAREA_GROUND , Divide::AI::Navigation::SAMPLE_POLYAREA_WATER , Divide::AI::Navigation::SAMPLE_POLYAREA_ROAD , Divide::AI::Navigation::SAMPLE_POLYAREA_DOOR ,
  Divide::AI::Navigation::SAMPLE_POLYAREA_GRASS , Divide::AI::Navigation::SAMPLE_POLYAREA_JUMP , Divide::AI::Navigation::SAMPLE_AREA_OBSTACLE
}
 
enum class  Divide::AI::Navigation::SamplePolyFlags : U16 {
  Divide::AI::Navigation::SAMPLE_POLYFLAGS_WALK = 0x01 , Divide::AI::Navigation::SAMPLE_POLYFLAGS_SWIM = 0x02 , Divide::AI::Navigation::SAMPLE_POLYFLAGS_DOOR = 0x04 , Divide::AI::Navigation::SAMPLE_POLYFLAGS_JUMP = 0x08 ,
  Divide::AI::Navigation::SAMPLE_POLYFLAGS_DISABLED = 0x10 , Divide::AI::Navigation::SAMPLE_POLYFLAGS_ALL = 0xffff
}
 
enum class  Divide::AI::Navigation::PathErrorCode : I8 {
  Divide::AI::Navigation::PATH_ERROR_NONE = 0 , Divide::AI::Navigation::PATH_ERROR_NO_NEAREST_POLY_START = -1 , Divide::AI::Navigation::PATH_ERROR_NO_NEAREST_POLY_END = -2 , Divide::AI::Navigation::PATH_ERROR_COULD_NOT_CREATE_PATH = -3 ,
  Divide::AI::Navigation::PATH_ERROR_COULD_NOT_FIND_PATH = -4 , Divide::AI::Navigation::PATH_ERROR_NO_STRAIGHT_PATH_CREATE = -5 , Divide::AI::Navigation::PATH_ERROR_NO_STRAIGHT_PATH_FIND = -6
}
 

Variables

constexpr auto MAX_PATHSLOT = 128
 how many paths we can store;
 
constexpr auto MAX_PATHPOLY = 256
 max number of polygons in a path
 
constexpr auto MAX_PATHVERT = 512
 most verts in a path
 
constexpr F32 Divide::AI::BORDER_PADDING = -3
 

Macro Definition Documentation

◆ DVD_NAVIGATION_MESH_DEFINES_H_

#define DVD_NAVIGATION_MESH_DEFINES_H_

Definition at line 34 of file NavMeshDefines.h.

◆ RECAST_UTIL_PROPERTIES

#define RECAST_UTIL_PROPERTIES

Definition at line 37 of file NavMeshDefines.h.

Variable Documentation

◆ MAX_PATHPOLY

constexpr auto MAX_PATHPOLY = 256
constexpr

max number of polygons in a path

Definition at line 45 of file NavMeshDefines.h.

◆ MAX_PATHSLOT

constexpr auto MAX_PATHSLOT = 128
constexpr

how many paths we can store;

Definition at line 44 of file NavMeshDefines.h.

◆ MAX_PATHVERT

constexpr auto MAX_PATHVERT = 512
constexpr

most verts in a path

Definition at line 46 of file NavMeshDefines.h.