mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-18 04:06:04 +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
@@ -2317,6 +2317,32 @@ ON_4dex::ON_4dex(
|
||||
, l(lValue)
|
||||
{}
|
||||
|
||||
int ON_4dex::operator[](int ind) const
|
||||
{
|
||||
switch (ind) {
|
||||
case 0:
|
||||
return i;
|
||||
case 1:
|
||||
return j;
|
||||
case 2:
|
||||
return k;
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
||||
int& ON_4dex::operator[](int ind)
|
||||
{
|
||||
switch (ind) {
|
||||
case 0:
|
||||
return i;
|
||||
case 1:
|
||||
return j;
|
||||
case 2:
|
||||
return k;
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
||||
ON_2udex::ON_2udex(
|
||||
unsigned int iValue,
|
||||
unsigned int jValue)
|
||||
|
||||
Reference in New Issue
Block a user