|
@@ -88,8 +88,8 @@ namespace bbiwarg.Detectors.Fingers
|
|
|
|
|
|
FingerSliceTrail trail = new FingerSliceTrail(startSlice);
|
|
|
|
|
|
- Vector2D position = startSlice.Mid + startDirection;
|
|
|
Vector2D direction = startDirection;
|
|
|
+ Vector2D position = startSlice.Mid + 2*direction;
|
|
|
|
|
|
if (position.isWithin(0, 0, maxX, maxY))
|
|
|
{
|
|
@@ -128,7 +128,7 @@ namespace bbiwarg.Detectors.Fingers
|
|
|
FingerSlice lastSlice = trail.End;
|
|
|
FingerSlice nextSlice;
|
|
|
|
|
|
- while (currentPosition.isWithin(0, 0, maxX, maxY) && gapCounter <= Math.Min(numSlices / 2, 10))
|
|
|
+ while (currentPosition.isWithin(0, 0, maxX, maxY) && gapCounter <= Math.Min(numSlices, 10))
|
|
|
{
|
|
|
nextSlice = findFingerSliceFromMid(currentPosition, currentDirection);
|
|
|
if (nextSlice != null && (nextSlice.Length < lastSlice.Length + 5 && nextSlice.Length > lastSlice.Length - 5))
|