Ray-casting algorithm: Difference between revisions

(Move Racket entry to alphabetical position)
Line 2,182:
=={{header|Racket}}==
Straightforward implementation of pseudocode
<lang schemeracket>
#lang racket
 
Line 2,259:
(test-figure exagon "exagon")
</lang>
 
Output:
{{out}}
<lang lisp>
<pre>
testing square:
testing (point 5.0 5.0): #t
Line 2,278 ⟶ 2,279:
testing (point 8.0 5.0): #t
testing (point 10.0 10.0): #f
</langpre>
 
=={{header|REXX}}==