Re: [Algorithms] Rounding Problem
Brought to you by:
vexxed72
From: Tom P. <ga...@fa...> - 2008-05-20 18:35:26
|
> It might be that my grid coordinates are not overlapping perfectly > and I'm reading the wrong bit of map ? Because of the negative, > they were out somewhat before I added the floors there. Do your unit tests all pass? This seems like a pretty obvious and even simple example of where unit tests will show you the true path. First pass in (0,0) and make sure you get what you expect (and my question is, what do you expect?). Then pass in the four extents, then spot check a few other places on the grid... -tom! |