Anonymous user
Ray-casting algorithm: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
m (→{{header|REXX}}: used a template for output.) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 1,923:
=={{header|Kotlin}}==
{{trans|D}}
<lang scala>
import java.lang.Double.MIN_VALUE
import java.lang.Math.abs
|