This commit is contained in:
Hannes Janetzek
2013-10-09 01:55:49 +02:00
parent 9705811f7b
commit 928c7e7328
+2 -1
View File
@@ -301,7 +301,8 @@ public final class LineLayer extends Layer {
ux = vx + wx; ux = vx + wx;
uy = vy + wy; uy = vy + wy;
a = -wy * ux + wx * uy; // cross-product
a = wx * uy - wy * ux;
// boolean split = false; // boolean split = false;
if (a < 0.01f && a > -0.01f) { if (a < 0.01f && a > -0.01f) {