19 #ifndef RECASTSAMPLETEMPOBSTACLE_H
20 #define RECASTSAMPLETEMPOBSTACLE_H
77 void getTilePos(
const float* pos,
int& tx,
int& ty);
94 int rasterizeTileLayers(
const int tx,
const int ty,
const rcConfig& cfg,
struct TileCacheData* tiles,
const int maxTiles);
Definition: Sample_TempObstacles.h:29
void getTilePos(const float *pos, int &tx, int &ty)
Definition: Sample_TempObstacles.cpp:1386
virtual void handleTools()
Definition: Sample_TempObstacles.cpp:952
int m_maxPolysPerTile
Definition: Sample_TempObstacles.h:61
virtual ~Sample_TempObstacles()
Definition: Sample_TempObstacles.cpp:859
float m_tileSize
Definition: Sample_TempObstacles.h:62
virtual void handleRender()
Definition: Sample_TempObstacles.cpp:1043
DrawMode m_drawMode
Definition: Sample_TempObstacles.h:58
struct MeshProcess * m_tmproc
Definition: Sample_TempObstacles.h:35
virtual void handleRenderOverlay(double *proj, double *model, int *view)
Definition: Sample_TempObstacles.cpp:1125
float m_cacheBuildTimeMs
Definition: Sample_TempObstacles.h:39
virtual void handleUpdate(const float dt)
Definition: Sample_TempObstacles.cpp:1374
void loadAll(const char *path)
Definition: Sample_TempObstacles.cpp:1455
DrawMode
Definition: Sample_TempObstacles.h:46
@ DRAWMODE_MESH
Definition: Sample_TempObstacles.h:53
@ DRAWMODE_NAVMESH_PORTALS
Definition: Sample_TempObstacles.h:51
@ DRAWMODE_NAVMESH_NODES
Definition: Sample_TempObstacles.h:50
@ DRAWMODE_NAVMESH_BVTREE
Definition: Sample_TempObstacles.h:49
@ DRAWMODE_NAVMESH_TRANS
Definition: Sample_TempObstacles.h:48
@ MAX_DRAWMODE
Definition: Sample_TempObstacles.h:55
@ DRAWMODE_CACHE_BOUNDS
Definition: Sample_TempObstacles.h:54
@ DRAWMODE_NAVMESH_INVIS
Definition: Sample_TempObstacles.h:52
@ DRAWMODE_NAVMESH
Definition: Sample_TempObstacles.h:47
void renderCachedTile(const int tx, const int ty, const int type)
Definition: Sample_TempObstacles.cpp:1113
struct FastLZCompressor * m_tcomp
Definition: Sample_TempObstacles.h:34
Sample_TempObstacles()
Definition: Sample_TempObstacles.cpp:837
bool m_keepInterResults
Definition: Sample_TempObstacles.h:31
void clearAllTempObstacles()
Definition: Sample_TempObstacles.cpp:1193
int m_cacheRawSize
Definition: Sample_TempObstacles.h:41
void removeTempObstacle(const float *sp, const float *sq)
Definition: Sample_TempObstacles.cpp:1185
void addTempObstacle(const float *pos)
Definition: Sample_TempObstacles.cpp:1175
virtual void handleSettings()
Definition: Sample_TempObstacles.cpp:866
virtual bool handleBuild()
Definition: Sample_TempObstacles.cpp:1205
unsigned int m_cacheBuildMemUsage
Definition: Sample_TempObstacles.h:43
struct LinearAllocator * m_talloc
Definition: Sample_TempObstacles.h:33
void saveAll(const char *path)
Definition: Sample_TempObstacles.cpp:1415
void renderCachedTileOverlay(const int tx, const int ty, double *proj, double *model, int *view)
Definition: Sample_TempObstacles.cpp:1119
int m_cacheCompressedSize
Definition: Sample_TempObstacles.h:40
virtual void handleDebugMode()
Definition: Sample_TempObstacles.cpp:991
class dtTileCache * m_tileCache
Definition: Sample_TempObstacles.h:37
int m_maxTiles
Definition: Sample_TempObstacles.h:60
int m_cacheLayerCount
Definition: Sample_TempObstacles.h:42
virtual void handleMeshChanged(class InputGeom *geom)
Definition: Sample_TempObstacles.cpp:1155
Definition: DetourTileCache.h:102
Definition: Sample_TempObstacles.cpp:110
Definition: Sample_TempObstacles.cpp:139
Definition: Sample_TempObstacles.cpp:189
Definition: Sample_TempObstacles.cpp:250
Specifies a configuration to use when performing Recast builds.
Definition: Recast.h:217