#include "CKAll.h" #include #include "CubicEmitter.h" void CubicEmitter::InitiateParticle(Particle* p) { VxVector randpos(RANDNUM,RANDNUM,RANDNUM); CK3dEntity* entity = (CK3dEntity*)m_Context->GetObject(m_Entity); entity->Transform(&p->pos,&randpos); }