From 52c0ddd7189597ceafe46219462b0b55a045f557 Mon Sep 17 00:00:00 2001 From: Alayan Date: Fri, 12 Oct 2018 05:01:53 +0200 Subject: [PATCH] Add comment to clarify why the checkline check is done that way --- src/tracks/track_sector.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tracks/track_sector.cpp b/src/tracks/track_sector.cpp index 321b39559..9f80cf72e 100644 --- a/src/tracks/track_sector.cpp +++ b/src/tracks/track_sector.cpp @@ -101,6 +101,11 @@ void TrackSector::update(const Vec3 &xyz, bool ignore_vertical) { for (unsigned int i=0; i is required to have the rescue position + // correctly updating until the checkline is crossed again. + // This requires an ordering of checklines such that + // if checkline N is validated, all checklines for n= checkline_requirements[i]) { //has_prerequisite = true;