codeworld
codeworld copied to clipboard
Runtime errors in ray-casting example
Program: https://code.world/haskell#PSAP49qms7Ahg4z1gpLm2Jw
Comment:
Runtime error in out-of-the-box ray-casting example
Message:
Error in array index
You can pass through the inner walls and colour blocks. That's fine for this quick example.
However, when you run into the edges of the outer blocks, a runtime index error is raised, and the interaction freezes.