output entfernt
This commit is contained in:
parent
8e1c642f52
commit
7e6977b086
|
@ -117,7 +117,6 @@ public class Presenter {
|
||||||
|
|
||||||
Double x = (p1.getY() - p2.getY()) / (p2.getX() - p1.getX());
|
Double x = (p1.getY() - p2.getY()) / (p2.getX() - p1.getX());
|
||||||
Double y = ((p1.getX() * p2.getY()) - (p2.getX() * p1.getY())) / (p1.getX() - p2.getX());
|
Double y = ((p1.getX() * p2.getY()) - (p2.getX() * p1.getY())) / (p1.getX() - p2.getX());
|
||||||
System.out.printf("RESULT: (%3.3f, %3.3f)\n", x, y);
|
|
||||||
|
|
||||||
return new Coordinates(x, y);
|
return new Coordinates(x, y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue