MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / FindParticles

Method FindParticles

ogsr_engine/xrGame/ParticlesPlayer.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 Fvector::generate_orthonormal_basis(result.k, result.j, result.i);
15}
16CParticlesPlayer::SParticlesInfo* CParticlesPlayer::SBoneInfo::FindParticles(const shared_str& ps_name)
17{
18 for (ParticlesInfoListIt it = particles.begin(); it != particles.end(); it++)
19 if (it->ps && it->ps->Name() == ps_name)
20 return &(*it);
21 return 0;
22}
23CParticlesPlayer::SParticlesInfo* CParticlesPlayer::SBoneInfo::AppendParticles(CObject* object, const shared_str& ps_name)
24{
25 SParticlesInfo* pi = FindParticles(ps_name);

Callers 1

AutoStopParticlesMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
NameMethod · 0.45

Tested by

no test coverage detected