mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 05:20:31 +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
|
|
@ -358,11 +358,11 @@ enum
|
|||
/// @note Don't use this directly but rather use THREAD_POOL() instead.
|
||||
/// This way, the sound code may be easily switched to using a common
|
||||
/// pool later on.
|
||||
class SFXThreadPool : public ThreadPool, public ManagedSingleton< SFXThreadPool >
|
||||
class SFXThreadPool : public TorqueThreadPool, public ManagedSingleton< SFXThreadPool >
|
||||
{
|
||||
public:
|
||||
|
||||
typedef ThreadPool Parent;
|
||||
typedef TorqueThreadPool Parent;
|
||||
|
||||
/// Create a ThreadPool called "SFX" with two threads.
|
||||
SFXThreadPool()
|
||||
|
|
@ -399,7 +399,7 @@ extern ThreadSafeRef< SFXBufferProcessList > gBufferUpdateList;
|
|||
extern ThreadSafeDeque< SFXBuffer* > gDeadBufferList;
|
||||
|
||||
/// Return the thread pool used for SFX work.
|
||||
inline ThreadPool& THREAD_POOL()
|
||||
inline TorqueThreadPool& THREAD_POOL()
|
||||
{
|
||||
return *( SFXThreadPool::instance() );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue