pcbnew: Fix minor miscalculation in dp length
The commonParallellProjection had an odd ordering of parameters that was not followed by callers. This corrects the ordering to standard for each.
This commit is contained in:
parent
81483a9670
commit
1a6f039bb5
|
@ -771,7 +771,7 @@ DP_PRIMITIVE_PAIR DIFF_PAIR::EndingPrimitives()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool commonParallelProjection( SEG n, SEG p, SEG &pClip, SEG& nClip )
|
bool commonParallelProjection( SEG p, SEG n, SEG &pClip, SEG& nClip )
|
||||||
{
|
{
|
||||||
SEG n_proj_p( p.LineProject( n.A ), p.LineProject( n.B ) );
|
SEG n_proj_p( p.LineProject( n.A ), p.LineProject( n.B ) );
|
||||||
|
|
||||||
|
|
|
@ -282,7 +282,7 @@ const ITEM_SET TOPOLOGY::ConnectedItems( ITEM* aStart, int aKindMask )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool commonParallelProjection( SEG n, SEG p, SEG &pClip, SEG& nClip );
|
bool commonParallelProjection( SEG p, SEG n, SEG &pClip, SEG& nClip );
|
||||||
|
|
||||||
|
|
||||||
bool TOPOLOGY::AssembleDiffPair( ITEM* aStart, DIFF_PAIR& aPair )
|
bool TOPOLOGY::AssembleDiffPair( ITEM* aStart, DIFF_PAIR& aPair )
|
||||||
|
|
Loading…
Reference in New Issue