MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / makeParticleVariantCreator

Function makeParticleVariantCreator

source/game/StarParticle.cpp:309–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309ParticleVariantCreator makeParticleVariantCreator(Particle particle, Particle variance) {
310 return [particle, variance]() -> Particle {
311 auto p = particle;
312 p.applyVariance(variance);
313 return p;
314 };
315}
316
317}

Callers 1

particleCreatorMethod · 0.85

Calls 1

applyVarianceMethod · 0.80

Tested by

no test coverage detected