Ray-casting algorithm: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added/changed comments and whitespace.)
Line 1,922: Line 1,922:


=={{header|Julia}}==
=={{header|Julia}}==
{{works with|Julia|0.6}}
{{trans|Python}}
{{trans|Python}}


Line 1,973: Line 1,972:


'''Main''':
'''Main''':
<lang julia>let A = Point(0.0, 0.0),
<lang julia>using Printf

let A = Point(0.0, 0.0),
B = Point(0.0, 10.0),
B = Point(0.0, 10.0),
C = Point(10.0, 10.0),
C = Point(10.0, 10.0),