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

Method SetXFORM

ogsr_engine/xrGame/ParticlesObject.cpp:182–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void CParticlesObject::SetXFORM(const Fmatrix& m)
183{
184 IParticleCustom* V = smart_cast<IParticleCustom*>(renderable.visual);
185 VERIFY(V);
186 V->UpdateParent(m, {}, TRUE);
187 renderable.xform.set(m);
188 UpdateSpatial();
189}
190
191void CParticlesObject::UpdateParent(const Fmatrix& m, const Fvector& vel)
192{

Callers 5

UpdateParticlesMethod · 0.80
UpdateFlameParticlesMethod · 0.80
XFORMMoveToMethod · 0.80
update_frameMethod · 0.80
PlayParticlesMethod · 0.80

Calls 2

UpdateParentMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected