[Kde-games-devel] Konquest - patch for distance function

Pinaraf pinaraf at gmail.com
Sun May 20 11:00:53 CEST 2007


On 5/20/07, Jeremy Wick <jwickers at gmail.com> wrote:
>
> Hi,
>
> Just my two cents but it is indeed sqrt(2) ~= 1.4, if it was sqrt(2)/2
> it would be ~=0.7, so shorter that going from (0,0) to (0,1) which is
> not right.
>
> The distance between (a,b) and (c,d) is sqrt((a-c)^2 + (b-d)^2).
> Pinaraf, where did you get the /2 ?


I don't remember at all...  I'll  fix it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-games-devel/attachments/20070520/6e00386c/attachment.html 


More information about the kde-games-devel mailing list