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