Skip to content

Commit

Permalink
position is not the center but the center at minz
Browse files Browse the repository at this point in the history
  • Loading branch information
uwewoessner committed Aug 26, 2024
1 parent 7d15ce3 commit 957e7b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osgplugin/ReaderWriterCityGML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,7 @@ void ReaderWriterCityGML::getCenterAndDirection(const citygml::CityObject& objec
position += pos;
}
position /= minGeometry->getPolygonsCount();
position[2] = minz;
}
}

Expand Down

0 comments on commit 957e7b6

Please sign in to comment.