riTRANSXYZ: Fixed negative values due to bug in polygon calculations

This commit is contained in:
Jacob Støren committed 2014-08-28 11:25:20 +02:00
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]);
}