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

Method StartParticles

ogsr_engine/xrGame/ParticlesPlayer.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void CParticlesPlayer::StartParticles(const shared_str& particles_name, u16 bone_num, const Fvector& dir, u16 sender_id, int life_time, bool auto_stop)
120{
121 Fmatrix xform;
122 generate_orthonormal_basis(dir, xform);
123 StartParticles(particles_name, bone_num, xform, sender_id, life_time, auto_stop);
124}
125void CParticlesPlayer::StartParticles(const shared_str& particles_name, u16 bone_num, const Fmatrix& xform, u16 sender_id, int life_time, bool auto_stop)
126{
127 VERIFY(fis_zero(xform.c.magnitude()));

Callers

nothing calls this directly

Calls 14

fis_zeroFunction · 0.85
VisualMethod · 0.80
AppendParticlesMethod · 0.80
getHPBMethod · 0.80
setHPBMethod · 0.80
u32Enum · 0.70
magnitudeMethod · 0.45
UpdateParentMethod · 0.45
IsPlayingMethod · 0.45
PlayMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected