working vhacd

renamed ThreadPool to TorqueThreadPool to avoid conflics
fixed data transmission between stages of convexDecome and trimesh creation
TODO: re-add our own functions for generating sphere/cylinder/box
This commit is contained in:
marauder2k7 2024-05-12 14:43:56 +01:00
parent 679f0ff065
commit eb33fe04af
15 changed files with 116 additions and 75 deletions

View file

@ -65,7 +65,7 @@ namespace ImageUtil
}
//Thread work job for compression
struct CompressJob : public ThreadPool::WorkItem
struct CompressJob : public TorqueThreadPool::WorkItem
{
S32 width;
S32 height;
@ -124,7 +124,7 @@ namespace ImageUtil
srcDDS->mFlags.set(DDSFile::CompressedData);
//grab global thread pool
ThreadPool* pThreadPool = &ThreadPool::GLOBAL();
TorqueThreadPool* pThreadPool = &TorqueThreadPool::GLOBAL();
if (cubemap)
{