mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-18 07:26:06 +08:00
Sync changes from upstream repository
Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: chuck <chuck@mcneel.com> Co-authored-by: Dale Fugier <dale@mcneel.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: David Eränen <david.eranen@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: John Croudy <john.croudy@mcneel.com> Co-authored-by: Lowell Walmsley <lowell@mcneel.com> Co-authored-by: Nathan Letwory <nathan@mcneel.com> Co-authored-by: piac <giulio@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: Tim Hemmelman <tim@mcneel.com>
This commit is contained in:
@@ -703,15 +703,6 @@ static int MatchingSupport(const ON_4dex& A, const ON_4dex& B)
|
||||
return (i == 4) ? nsup : -1;
|
||||
}
|
||||
|
||||
static int Gregdebugcounter = 0;
|
||||
|
||||
|
||||
static void DebugCounter()
|
||||
{
|
||||
#ifdef ON_DEBUG
|
||||
Gregdebugcounter++;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Gilbert Johnson Keerthi algorithm
|
||||
|
||||
@@ -850,7 +841,6 @@ bool ClosestPoint(const ON_ConvexPoly& A, const ON_ConvexPoly& B,
|
||||
|
||||
if (Simp.GetClosestPointToOrigin(Bary))
|
||||
{
|
||||
DebugCounter();
|
||||
bFirstPass = false;
|
||||
v = Simp.Evaluate(Bary);
|
||||
vlenlast = vlen;
|
||||
|
||||
Reference in New Issue
Block a user