updated spm package

This commit is contained in:
partisan 2025-02-04 17:11:27 +01:00
parent 3f67a0a6de
commit 7373e47c1d
11 changed files with 594 additions and 475 deletions

View file

@ -25,7 +25,7 @@ func InitBackground(width, height int) {
for i := range particles {
particles[i].Pos = rl.Vector2{X: float32(rng.Intn(width)), Y: float32(rng.Intn(height))}
particles[i].Vel = rl.Vector2{X: (rng.Float32() - 0.5) * 0.2, Y: (rng.Float32() - 0.5) * 0.2}
particles[i].Size = rng.Float32()*1.5 + 0.5 // Particles size ~0.5-2.0
particles[i].Size = rng.Float32()*1.5 + 0.5
}
}