...including cases such as between 45 and 225 degrees and between 225 and 45 degrees going the other way. Which, for programmatical reasons, must all be handled in the same equation. It's either that, or I re-work my roguelikes' LOS aglorithm to handle everything in 90 degree increments. Save me a bunch of re-writing? Thanks.