summaryrefslogtreecommitdiff
path: root/Runtime/NavMesh/NavMeshTileConversion.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/NavMesh/NavMeshTileConversion.h
+Unity Runtime codeHEADmaster
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