Merge pull request #573 from Gustl22/scanbox

ScanBox docs: Remove problematic arrows (#571)
This commit is contained in:
Emux 2018-08-28 09:47:58 +03:00 committed by GitHub
commit a9b7e310be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,20 +116,20 @@ public abstract class ScanBox {
xmin = (int) min;
xmax = (int) max;
// 🡐 top-right -> top-left
// top-right -> top-left
ab.set(box[0], box[1], box[2], box[3]);
// 🡓 top-left -> bottom-left
// top-left -> bottom-left
bc.set(box[2], box[3], box[4], box[5]);
// 🡕 bottom-left -> top-right
// bottom-left -> top-right
ca.set(box[4], box[5], box[0], box[1]);
scanTriangle();
// 🡗 top-right -> bottom-left
// top-right -> bottom-left
ab.set(box[0], box[1], box[4], box[5]);
// 🡒 bottom-left -> bottom-right
// bottom-left -> bottom-right
bc.set(box[4], box[5], box[6], box[7]);
// 🡑 bottom-right -> top-right
// bottom-right -> top-right
ca.set(box[6], box[7], box[0], box[1]);
scanTriangle();
@ -154,7 +154,7 @@ public abstract class ScanBox {
ca = t;
}
// shouldnt be possible, anyway
// shouldn't be possible, anyway
if (ca.dy == 0)
return;