MCPcopy Create free account
hub / github.com/assaultcube/AC / particle_flash

Function particle_flash

source/src/renderparticles.cpp:558–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558void particle_flash(int type, float scale, float angle, const vec &p)
559{
560 angle *= RAD;
561 newparticle(p, vec(cosf(angle), sinf(angle), scale), 0, type);
562}
563
564void particle_splash(int type, int num, int fade, const vec &p)
565{

Callers 1

particle_emitFunction · 0.85

Calls 2

newparticleFunction · 0.85
vecClass · 0.85

Tested by

no test coverage detected