summaryrefslogtreecommitdiff
path: root/Runtime/Dynamics/NxMeshCreation.h
blob: 1c9fbcb393f4bbc8152475f8fbc3df3f20252947 (plain)
1
2
3
4
5
6
7
8
9
10
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 );