From a0524a09fa0ea300e96bff2055b1880b2a253b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@hornquist.se> Date: Thu, 13 Jun 2019 15:36:21 +0200 Subject: [PATCH] Add comment. --- main.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.scm b/main.scm index 353ef10..3e6c1e3 100755 --- a/main.scm +++ b/main.scm @@ -132,6 +132,9 @@ (decimals x)) 1)) +;; distance from x wall, horizontal wall, wall paralell with the x axis +;; returns how far you would have to travel in direction a before you +;; hit a wall. (define (y-from-edge y a) "distance-from-x-wall" (mod (* (sgn (sin a)) -- GitLab