Sync changes from upstream repository

Co-authored-by: Steve Baer <steve@mcneel.com>
Co-authored-by: Nathan Letwory <nathan@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
This commit is contained in:
Bozo The Builder
2019-11-05 18:13:55 -08:00
committed by Will Pearson
parent b844466e88
commit 799431a63b
130 changed files with 29557 additions and 9236 deletions

View File

@@ -3407,6 +3407,14 @@ int ON_Compare2dex( const ON_2dex* a, const ON_2dex* b)
}
int ON_Compare2udex(const ON_2udex* a, const ON_2udex* b)
{
if (a->i < b->i) return -1;
if (b->i < a->i) return 1;
return (b->j < a->j) - (a->j < b->j);
}
int ON_Compare3dex( const ON_3dex* a, const ON_3dex* b)
{
int d;