| 180 | } |
| 181 | |
| 182 | void 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 | |
| 191 | void CParticlesObject::UpdateParent(const Fmatrix& m, const Fvector& vel) |
| 192 | { |
no test coverage detected