aboutsummaryrefslogtreecommitdiff
path: root/examples/game/world.tm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/game/world.tm')
-rw-r--r--examples/game/world.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game/world.tm b/examples/game/world.tm
index 8b721c5c..76acac6b 100644
--- a/examples/game/world.tm
+++ b/examples/game/world.tm
@@ -38,7 +38,7 @@ func solve_overlap(a_pos:Vector2, a_size:Vector2, b_pos:Vector2, b_size:Vector2
return Vector2(0, 0)
struct World(player:@Player, goal:@Box, boxes:@[@Box], dt_accum=Num32(0.0), won=no):
- DT := (Num32(1.)/Num32(60.))!
+ DT := (Num32(1.)/Num32(60.))
STIFFNESS := Num32(0.3)
func update(w:@World, dt:Num32):