//----------------------------------------------------------------------------- // Purpose: // Input : &pos - // &angles - //----------------------------------------------------------------------------- void TE_Dust( IRecipientFilter& filter, float delay, const Vector &pos, const Vector &dir, float size, float speed ) { g_TEDust.m_vecOrigin = pos; g_TEDust.m_vecDirection = dir; g_TEDust.m_flSize = size; g_TEDust.m_flSpeed = speed; //Send it g_TEDust.Create( filter, delay ); }
//----------------------------------------------------------------------------- // Purpose: // Input : &pos - // &angles - //----------------------------------------------------------------------------- void TE_Dust( IRecipientFilter& filter, float delay, const Vector &pos, const Vector &dir, float size, float speed ) { g_TEDust.m_vecOrigin = pos; g_TEDust.m_vecDirection = dir; g_TEDust.m_flSize = size; g_TEDust.m_flSpeed = speed; Assert( dir.Length() < 1.01 ); // make sure it's a normal //Send it g_TEDust.Create( filter, delay ); }