From db019303f77e7a785e8719b052691bc8f447997d Mon Sep 17 00:00:00 2001 From: Jörg Sommrey <28217714+jo-37@users.noreply.github.com> Date: Sat, 27 Feb 2021 17:34:02 +0100 Subject: Enhance comment --- challenge-101/jo-37/perl/ch-2.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/challenge-101/jo-37/perl/ch-2.pl b/challenge-101/jo-37/perl/ch-2.pl index 5594308283..627d7a85b6 100755 --- a/challenge-101/jo-37/perl/ch-2.pl +++ b/challenge-101/jo-37/perl/ch-2.pl @@ -41,10 +41,10 @@ say inner_origin(pairs @ARGV); # and need not be distinct. # Two consecutive checks are performed: # 1) Origin orientation: -# The coordinates of each pair of the polygon's corners form a 2x2 -# matrix. The sign of the corresponding determinant signals if the -# origin is left or right of the directed edge connecting these -# points. If the origin is an inner point, all orientations +# For each edge of the polygon (as a cycle), the coordinates of +# its corners form a 2x2 matrix. The sign of the corresponding +# determinant signals if the origin is left or right of the +# (directed) edge. If the origin is an inner point, all orientations # must agree, whereas an outer point will show different signs. # 2) Axis projection: # If the given points are collinear, all determinants are zero -- cgit