Boundary fix, at small performance cost.

This commit is contained in:
2025-11-29 09:58:26 -05:00
parent bc66aa740e
commit f6fead2ddd

View File

@@ -237,8 +237,10 @@ func (g *Game) UpdateParticles() {
if g.resolvecollisions {
g.resolvers[g.resolveridx](particle)
}
}
g.BoundParticle(particle)
for _, p := range g.particles {
g.BoundParticle(p)
}
}