mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-15 08:20:08 +00:00
Fixed rotation for patches with 3 transitional edges.
This commit is contained in:
parent
90dd11a5b9
commit
68ce13eeec
@ -261,6 +261,8 @@ public:
|
||||
} else if (_transitionType == TRANS_TWO_ADJ) {
|
||||
int const edgeMaskPerBoundary[] = { 6, 12, 9, 3 };
|
||||
_transitionRot = 1 + (edgeMaskPerBoundary[_boundaryIndex] == transitionEdgeMask);
|
||||
} else if (_transitionType == TRANS_THREE) {
|
||||
_transitionRot = 0;
|
||||
} else {
|
||||
_transitionRot = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user