14 lines
266 B
C++
14 lines
266 B
C++
#include "CKAll.h"
|
|
|
|
#include <time.h>
|
|
|
|
#include "PlanarEmitter.h"
|
|
|
|
|
|
void
|
|
PlanarEmitter::InitiateParticle(Particle* p)
|
|
{
|
|
VxVector randpos(RANDNUM,RANDNUM,0.0);
|
|
CK3dEntity* entity = (CK3dEntity*)m_Context->GetObject(m_Entity);
|
|
entity->Transform(&p->pos,&randpos);
|
|
} |