summaryrefslogtreecommitdiff
path: root/Runtime/Dynamics/NxMeshCreation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Dynamics/NxMeshCreation.h')
-rw-r--r--Runtime/Dynamics/NxMeshCreation.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Runtime/Dynamics/NxMeshCreation.h b/Runtime/Dynamics/NxMeshCreation.h
new file mode 100644
index 0000000..1c9fbcb
--- /dev/null
+++ b/Runtime/Dynamics/NxMeshCreation.h
@@ -0,0 +1,11 @@
+#pragma once
+
+class Mesh;
+class Matrix4x4f;
+enum TransformType;
+class MemoryStream;
+
+bool CreateNxStreamFromUnityMesh (Mesh* mesh, bool convex, const Matrix4x4f& scalematrix, TransformType transformType, MemoryStream& stream );
+MemoryStream* CreateNxStreamFromUnityMesh(Mesh& meshData, bool convex);
+//static void* CreateNxMeshFromByteStream(bool convex,dynamic_array<UInt8>& mesh)
+void* CreateNxMeshFromUnityMesh (Mesh* mesh, bool convex, const Matrix4x4f& scalematrix, TransformType transformType );