X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Frenderer%2Fraster%2Fslicer%2FBorderLine.java;h=ebf741a9fe53985367e4ed5da957089695ef6113;hb=a40c9c2a3ef372ea0f2c87af644ca2302315baca;hp=4ae69ba9bf020ca0a7cb559362e8da9d07a3d8a4;hpb=03447008b8ee26a6463d2cd03005dc26464863db;p=sixth-3d.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/BorderLine.java b/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/BorderLine.java index 4ae69ba..ebf741a 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/BorderLine.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/BorderLine.java @@ -1,12 +1,7 @@ /* - * Sixth 3D engine. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of version 3 of the GNU Lesser General Public License - * or later as published by the Free Software Foundation. - * + * Sixth 3D engine. Author: Svjatoslav Agejenko. + * This project is released under Creative Commons Zero (CC0) license. */ - package eu.svjatoslav.sixth.e3d.renderer.raster.slicer; import eu.svjatoslav.sixth.e3d.geometry.Point2D; @@ -38,7 +33,7 @@ public class BorderLine implements Comparator { public PolygonCoordinate getMiddlePoint() { return new PolygonCoordinate(new Point3D().computeMiddlePoint(c1.space, - c2.space), new Point2D().computeMiddlePoint(c1.texture, + c2.space), new Point2D().getMiddle(c1.texture, c2.texture)); } }