[warzone2100-dev] Raycasting algorithm

2011-07-08 Thread Safety0ff
I was looking in raycast.cpp on other business and I noticed that the callback could potentially be called twice for one tile, or not at all, depending on how the ray crosses the tile. So I'm wondering whether anyone has noticed this before and if there are opinions about changing/fixing this.

Re: [warzone2100-dev] Raycasting algorithm

2011-07-08 Thread buginator
On Fri, Jul 8, 2011 at 2:03 PM, Safety0ff safety0ff. wrote: I was looking in raycast.cpp on other business and I noticed that the callback could potentially be called twice for one tile, or not at all, depending on how the ray crosses the tile. So I'm wondering whether anyone has noticed this