summaryrefslogtreecommitdiff
path: root/Runtime/NavMesh/NavMeshTileConversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/NavMesh/NavMeshTileConversion.h')
-rw-r--r--Runtime/NavMesh/NavMeshTileConversion.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Runtime/NavMesh/NavMeshTileConversion.h b/Runtime/NavMesh/NavMeshTileConversion.h
new file mode 100644
index 0000000..2bf3fd2
--- /dev/null
+++ b/Runtime/NavMesh/NavMeshTileConversion.h
@@ -0,0 +1,11 @@
+#ifndef _NAVMESHTILECONVERSION_H_INCLUDED_
+#define _NAVMESHTILECONVERSION_H_INCLUDED_
+
+struct dtMeshTile;
+class DynamicMesh;
+class Vector3f;
+
+bool TileToDynamicMesh (const dtMeshTile* tile, DynamicMesh& mesh, const Vector3f& tileOffset);
+unsigned char* DynamicMeshToTile (int* dataSize, const DynamicMesh& mesh, const dtMeshTile* sourceTile, const Vector3f& tileOffset);
+
+#endif