13 lines
267 B
C++
13 lines
267 B
C++
#include "CKAll.h"
|
|
|
|
#include <time.h>
|
|
|
|
#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);
|
|
} |