mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
add source-sdk-2013
This commit is contained in:
@@ -87,11 +87,7 @@ EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CParticleSystemQuery, IParticleSystemQuery, P
|
||||
#endif
|
||||
|
||||
static CThreadFastMutex s_LightMutex;
|
||||
|
||||
// This mutex exists because EntityToWorldTransform was not threadsafe, and could potentially have been called from multiple
|
||||
// particle update threads. It has now been fixed to be threadsafe, so this mutex can safely just be a no-op (meaingful perf win for this).
|
||||
// static CThreadFastMutex s_BoneMutex;
|
||||
static CThreadNullMutex s_BoneMutex;
|
||||
static CThreadFastMutex s_BoneMutex;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Inherited from IParticleSystemQuery
|
||||
@@ -235,7 +231,7 @@ void CParticleSystemQuery::GetRandomPointsOnControllingObjectHitBox(
|
||||
{
|
||||
bSucesss = true;
|
||||
|
||||
Vector vecWorldPosition(0, 0, 0);
|
||||
Vector vecWorldPosition;
|
||||
float u = 0, v = 0, w = 0;
|
||||
int nHitbox = 0;
|
||||
int nNumIters = nNumTrysToGetAPointInsideTheModel;
|
||||
@@ -312,7 +308,7 @@ void CParticleSystemQuery::GetRandomPointsOnControllingObjectHitBox(
|
||||
|
||||
|
||||
|
||||
Vector vecWorldPosition(0, 0, 0);
|
||||
Vector vecWorldPosition;
|
||||
float u = 0, v = 0, w = 0;
|
||||
int nHitbox = 0;
|
||||
int nNumIters = nNumTrysToGetAPointInsideTheModel;
|
||||
|
||||
Reference in New Issue
Block a user