From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/NavMesh/NavMeshTileConversion.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Runtime/NavMesh/NavMeshTileConversion.h (limited to 'Runtime/NavMesh/NavMeshTileConversion.h') 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 -- cgit v1.1-26-g67d0