Simplifying engine interface #14

Merged
BirDt merged 14 commits from feature/basic-samples into master 2026-04-18 09:12:01 +08:00
Showing only changes of commit 8c48d4ee42 - Show all commits

View file

@ -29,10 +29,10 @@
((if (circle-2d-filled? circle) ((if (circle-2d-filled? circle)
draw-circle draw-circle
draw-circle-lines) draw-circle-lines)
(inexact->exact (round (v-x draw-pos))) (v-x draw-pos)
(inexact->exact (round (v-y draw-pos))) (v-y draw-pos)
(circle-2d-radius circle) (circle-2d-radius circle)
(use-color (visual-2d-color vis-2d))))))))))) (visual-2d-color vis-2d))))))))))
(define-record-type <rigidbody-2d> (define-record-type <rigidbody-2d>