mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
riTRANSXYZ: Fixed negative values due to bug in polygon calculations
This commit is contained in:
1 parent
b7bc732b32
commit
5377742bbc
1 file changed
+1
-1
@@ -299,7 +299,7 @@ bool GeometryTools::calculateOverlapPolygonOfTwoQuads(std::vector<IndexType> * p
|
||||
{
|
||||
|
||||
int k;
|
||||
for (k = 0; k < 4; ++k)
|
||||
for (k = 3; k >= 0; --k) // Return opposite winding, to match winding of face 1
|
||||
{
|
||||
polygon->push_back(cv2CubeFaceIndices[k]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user