MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / add

Method add

libraries/lib-app-base/src/gl-particle-system.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void gl_particle_system::add(const float3 & position, const float3 & velocity, const float size, const float lifeMs)
60{
61 particle p;
62 p.position = position;
63 p.velocity = velocity;
64 p.size = size;
65 p.lifeMs = lifeMs;
66 particles.emplace_back(p);
67}
68
69void gl_particle_system::add(const float3 & position, const float4 & color, const float size)
70{

Callers 7

emitMethod · 0.45
emitMethod · 0.45
emitMethod · 0.45
emitMethod · 0.45
emitMethod · 0.45
sample_gl_bvhMethod · 0.45
on_inputMethod · 0.45

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected