Jump to content

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>packageimport ray_castingjava.lang.Double.MAX_VALUE
 
import java.lang.Double.MAX_VALUE
import java.lang.Double.MIN_VALUE
import java.lang.Math.abs
Cookies help us deliver our services. By using our services, you agree to our use of cookies.