New project: F*CK WALLS

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

Moderator: Phades

Re: New project: F*CK WALLS

Postby aghmed » Mon Aug 12, 2013 7:43 pm

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
}}
User avatar
aghmed
 
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Previous

Return to The Wizards' Tower

Who is online

Users browsing this forum: BLEX [Bot], Claude [Bot], Semrush [Bot] and 1 guest