"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/qgstessellator.cpp" between
QGIS-final-3_10_5.tar.gz and QGIS-final-3_10_6.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgstessellator.cpp  (QGIS-final-3_10_5):qgstessellator.cpp  (QGIS-final-3_10_6)
skipping to change at line 434 skipping to change at line 434
return; return;
if ( pCount == 4 && polygon.numInteriorRings() == 0 ) if ( pCount == 4 && polygon.numInteriorRings() == 0 )
{ {
// polygon is a triangle - write vertices to the output data array without t riangulation // polygon is a triangle - write vertices to the output data array without t riangulation
const double *xData = exterior->xData(); const double *xData = exterior->xData();
const double *yData = exterior->yData(); const double *yData = exterior->yData();
const double *zData = !mNoZ ? exterior->zData() : nullptr; const double *zData = !mNoZ ? exterior->zData() : nullptr;
for ( int i = 0; i < 3; i++ ) for ( int i = 0; i < 3; i++ )
{ {
mData << *xData++ - mOriginX << ( mNoZ ? 0 : *zData++ ) << - *yData++ + mO riginY; mData << *xData++ - mOriginX << ( !zData ? 0 : *zData++ ) << - *yData++ + mOriginY;
if ( mAddNormals ) if ( mAddNormals )
mData << pNormal.x() << pNormal.z() << - pNormal.y(); mData << pNormal.x() << pNormal.z() << - pNormal.y();
} }
if ( mAddBackFaces ) if ( mAddBackFaces )
{ {
// the same triangle with reversed order of coordinates and inverted norma l // the same triangle with reversed order of coordinates and inverted norma l
for ( int i = 2; i >= 0; i-- ) for ( int i = 2; i >= 0; i-- )
{ {
mData << exterior->xAt( i ) - mOriginX << ( mNoZ ? 0 : exterior->zAt( i ) ) << - exterior->yAt( i ) + mOriginY; mData << exterior->xAt( i ) - mOriginX << ( mNoZ ? 0 : exterior->zAt( i ) ) << - exterior->yAt( i ) + mOriginY;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)