Fixed rotation for patches with 3 transitional edges.

This commit is contained in:
David G Yu 2014-10-24 11:03:55 -07:00
parent 90dd11a5b9
commit 68ce13eeec

View File

@ -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;
}