codeworld icon indicating copy to clipboard operation
codeworld copied to clipboard

Runtime errors in ray-casting example

Open codeworld-feedback opened this issue 2 years ago • 1 comments

Program: https://code.world/haskell#PSAP49qms7Ahg4z1gpLm2Jw

Comment:

Runtime error in out-of-the-box ray-casting example

Message:

Error in array index

codeworld-feedback avatar Sep 20 '21 11:09 codeworld-feedback

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.

szabi avatar Sep 20 '21 11:09 szabi