mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
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:
parent
679f0ff065
commit
eb33fe04af
15 changed files with 116 additions and 75 deletions
|
|
@ -262,7 +262,7 @@ void StandardMainLoop::init()
|
|||
RedBook::init();
|
||||
Platform::initConsole();
|
||||
|
||||
ThreadPool::GlobalThreadPool::createSingleton();
|
||||
TorqueThreadPool::GlobalThreadPool::createSingleton();
|
||||
|
||||
// Set engineAPI initialized to true
|
||||
engineAPI::gIsInitialized = true;
|
||||
|
|
@ -293,7 +293,7 @@ void StandardMainLoop::init()
|
|||
|
||||
Con::setVariable("TorqueScriptFileExtension", TORQUE_SCRIPT_EXTENSION);
|
||||
|
||||
Con::addVariable( "_forceAllMainThread", TypeBool, &ThreadPool::getForceAllMainThread(), "Force all work items to execute on main thread. turns this into a single-threaded system. Primarily useful to find whether malfunctions are caused by parallel execution or not.\n"
|
||||
Con::addVariable( "_forceAllMainThread", TypeBool, &TorqueThreadPool::getForceAllMainThread(), "Force all work items to execute on main thread. turns this into a single-threaded system. Primarily useful to find whether malfunctions are caused by parallel execution or not.\n"
|
||||
"@ingroup platform" );
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
|
|
@ -351,7 +351,7 @@ void StandardMainLoop::shutdown()
|
|||
|
||||
EngineModuleManager::shutdownSystem();
|
||||
|
||||
ThreadPool::GlobalThreadPool::deleteSingleton();
|
||||
TorqueThreadPool::GlobalThreadPool::deleteSingleton();
|
||||
|
||||
#ifdef TORQUE_ENABLE_VFS
|
||||
closeEmbeddedVFSArchive();
|
||||
|
|
@ -636,7 +636,7 @@ bool StandardMainLoop::doMainLoop()
|
|||
if(!Process::processEvents())
|
||||
keepRunning = false;
|
||||
|
||||
ThreadPool::processMainThreadWorkItems();
|
||||
TorqueThreadPool::processMainThreadWorkItems();
|
||||
Sampler::endFrame();
|
||||
ConsoleValue::resetConversionBuffer();
|
||||
PROFILE_END_NAMED(MainLoop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue