From 2b28580f0c8932ed48bbd68a4e7ef786ecb08a97 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 15 Oct 2023 13:33:43 +0100 Subject: [PATCH] Comments. --- libs/kimath/include/geometry/shape_line_chain.h | 4 ++-- pcbnew/pcb_track.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/kimath/include/geometry/shape_line_chain.h b/libs/kimath/include/geometry/shape_line_chain.h index 0b734dbeef..b15942262d 100644 --- a/libs/kimath/include/geometry/shape_line_chain.h +++ b/libs/kimath/include/geometry/shape_line_chain.h @@ -382,7 +382,7 @@ public: /** * Move a point to a specific location. * - * @param aIndex is the index of the point to move. + * @param aIndex is the index of the point to move. Negative indexes are from the back. * @param aPos is the new absolute location of the point. */ void SetPoint( int aIndex, const VECTOR2I& aPos ); @@ -390,7 +390,7 @@ public: /** * Return a reference to a given point in the line chain. * - * @param aIndex is the index of the point. + * @param aIndex is the index of the point. Negative indexes are from the back. * @return a const reference to the point. */ const VECTOR2I& CPoint( int aIndex ) const diff --git a/pcbnew/pcb_track.cpp b/pcbnew/pcb_track.cpp index d0c09c71ef..5c7187b8ad 100644 --- a/pcbnew/pcb_track.cpp +++ b/pcbnew/pcb_track.cpp @@ -32,12 +32,10 @@ #include #include #include -//#include #include #include #include #include -//#include #include #include #include