| 14 | Fvector::generate_orthonormal_basis(result.k, result.j, result.i); |
| 15 | } |
| 16 | CParticlesPlayer::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 | } |
| 23 | CParticlesPlayer::SParticlesInfo* CParticlesPlayer::SBoneInfo::AppendParticles(CObject* object, const shared_str& ps_name) |
| 24 | { |
| 25 | SParticlesInfo* pi = FindParticles(ps_name); |
no test coverage detected