MCPcopy Create free account
hub / github.com/alecthomas/entityx / Particle

Method Particle

examples/example.cc:67–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66struct Particle {
67 explicit Particle(sf::Color colour, float radius, float duration)
68 : colour(colour), radius(radius), alpha(colour.a), d(colour.a / duration) {}
69
70 sf::Color colour;
71 float radius, alpha, d;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected