Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / raster / slicer / BorderLine.java
index ebf741a..080bc0d 100644 (file)
@@ -33,7 +33,7 @@ public class BorderLine implements Comparator<BorderLine> {
 
     public PolygonCoordinate getMiddlePoint() {
         return new PolygonCoordinate(new Point3D().computeMiddlePoint(c1.space,
-                c2.space), new Point2D().getMiddle(c1.texture,
+                c2.space), new Point2D().setToMiddle(c1.texture,
                 c2.texture));
     }
 }