a little more complex 3d raycasting | ScratchStats