[thanos] Added static assertion against seed-multiplier overflow.

This commit is contained in:
23rd
2026-05-22 10:47:07 +03:00
parent 55777458d7
commit b5baa2e042
@@ -34,6 +34,7 @@ constexpr auto kDisappearStartPhase = kMaxPhaseDuration * 0.15f;
constexpr auto kDisappearDuration
= kMaxPhaseDuration - kDisappearStartPhase;
constexpr auto kMaxParticleCount = uint32_t(120000);
static_assert(kMaxParticleCount < (1u << 30));
const float kQuadVertices[kQuadVertexCount * 2] = {
0.f, 0.f,