Home
last modified time | relevance | path

Searched refs:dropD (Results 1 – 2 of 2) sorted by relevance

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/tinsel/
H A Dpolygons.cpp573 int dropD; // length of perpendicular (i.e. distance of point from line) in FindBestPoint() local
656 dropD = ((a * h) + (b * k) + c) / (int)sqrt((float)a*a + (float)b*b); in FindBestPoint()
657 dropD = ABS(dropD); in FindBestPoint()
658 if (dropD < shortestD) { in FindBestPoint()
659 shortestD = dropD; in FindBestPoint()
666 dropD = ABS(h - ptp.getNodeX(nearestN)) + ABS(k - ptp.getNodeY(nearestN)); in FindBestPoint()
669 if (dropD < shortestD) { in FindBestPoint()
/dports/games/scummvm/scummvm-2.5.1/engines/tinsel/
H A Dpolygons.cpp619 int dropD; // length of perpendicular (i.e. distance of point from line) in FindBestPoint() local
702 dropD = ((a * h) + (b * k) + c) / (int)sqrt((float)a*a + (float)b*b); in FindBestPoint()
703 dropD = ABS(dropD); in FindBestPoint()
704 if (dropD < shortestD) { in FindBestPoint()
705 shortestD = dropD; in FindBestPoint()
712 dropD = ABS(h - ptp.getNodeX(nearestN)) + ABS(k - ptp.getNodeY(nearestN)); in FindBestPoint()
715 if (dropD < shortestD) { in FindBestPoint()