Skip to content

Commit

Permalink
Pass substance to box polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Apr 12, 2020
1 parent 4486efb commit 20638b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion physics/2d/shape.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@
(vec2 ox (+ oy height))
(vec2 (+ ox width) (+ oy height))
(vec2 (+ ox width) oy))
:body body))
:body body
:substance substance))
(let ((shape (make-instance 'box-shape
:universe universe
:substance substance
Expand Down

0 comments on commit 20638b4

Please sign in to comment.