MCPcopy Create free account
hub / github.com/defold/defold / SortPred

Class SortPred

engine/particle/src/particle.cpp:1313–1320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1311 }
1312
1313 struct SortPred
1314 {
1315 inline bool operator () (const Particle& p1, const Particle& p2)
1316 {
1317 return p1.GetSortKey().m_Key < p2.GetSortKey().m_Key;
1318 }
1319
1320 };
1321
1322 void GenerateKeys(Emitter* emitter, float max_particle_life_time)
1323 {

Callers 1

SortParticlesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected