Commit a0524a09 authored by Hugo Hörnquist's avatar Hugo Hörnquist

Add comment.

parent 2820bcc3
...@@ -132,6 +132,9 @@ ...@@ -132,6 +132,9 @@
(decimals x)) (decimals x))
1)) 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) (define (y-from-edge y a)
"distance-from-x-wall" "distance-from-x-wall"
(mod (* (sgn (sin a)) (mod (* (sgn (sin a))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment