New project: F*CK WALLS

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

User avatar
aghmed
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: New project: F*CK WALLS

Post by aghmed »

found new bug :D

Code: Select all

            double a = (y2-y1)/(x2-x1);
			double b=-a*x2+y2;
			double x=y/a-b/a;
counts intersection point of line and rectangle....
what if x2==x1? :D
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}

Return to “The Wizards' Tower”