Remove dependency on tick unit
parent
8656725f78
commit
d2731012d6
|
@ -66,7 +66,7 @@ TUPLE: fluids-world < game-world
|
|||
SYMBOL: fluid
|
||||
|
||||
: integrate ( world -- )
|
||||
particles>> $[ 60 fps 1,000,000,000 /f ] integrate-particles! drop ;
|
||||
particles>> 1/60 integrate-particles! drop ;
|
||||
|
||||
: pause ( -- )
|
||||
fluid get [ not ] change-paused drop ;
|
||||
|
|
Loading…
Reference in New Issue