mirror of
https://github.com/IllusionMan1212/O2048.git
synced 2026-10-24 10:12:37 +00:00
update for latest odin
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ particle_time: time.Duration = 0
|
||||
update_particles :: proc(delta_t: time.Duration, particles: ^[MAX_PARTICLES]Particle, start_pos: zephr.Vec2) {
|
||||
delta_t_f := cast(f32)time.duration_seconds(delta_t)
|
||||
|
||||
for p in particles {
|
||||
for &p in particles {
|
||||
p.life -= delta_t
|
||||
if p.life <= 0 {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user