mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-17 14:56:02 +08:00
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:
committed by
Will Pearson
parent
b844466e88
commit
799431a63b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user