TE_SetupSparks Function

Sets up a sparks effect.

void TE_SetupSparks(const float pos[3], const float dir[3], int Magnitude, int TrailLength)

Parameters

const float[3] pos

Position of the sparks.

const float[3] dir

Direction of the sparks.

int Magnitude

Sparks size.

int TrailLength

Trail lenght of the sparks.