Skip to content

Commit

Permalink
Check into breaking obj for win exe
Browse files Browse the repository at this point in the history
  • Loading branch information
ipadjen committed Jan 12, 2024
1 parent c6641e9 commit 996ca5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void IO::output_obj(const OutputFeaturesPtr& allFeatures) {
std::vector<std::ofstream> of;
std::vector<std::string> fs(numOutputSurfaces), bs(numOutputSurfaces);

std::vector<std::unordered_map<std::string, int>> dPts(numOutputSurfaces);
std::vector<std::unordered_map<std::string, unsigned long>> dPts(numOutputSurfaces);
//-- Output points
// int count = 0; // to output each building as a separate group
for (auto& f : allFeatures) {
Expand Down Expand Up @@ -441,7 +441,7 @@ void IO::output_cityjson(const OutputFeaturesPtr& allFeatures) {
void IO::get_obj_pts(const Mesh& mesh,
std::string& fs,
std::string& bs,
std::unordered_map<std::string, int>& dPts) {
std::unordered_map<std::string, unsigned long>& dPts) {
for (auto& face : mesh.faces()) {
if (IO::is_degen(mesh, face)) continue;
std::string bsTemp;
Expand Down Expand Up @@ -614,4 +614,4 @@ std::string IO::gen_key_bucket(const T& p) {
}
//- Explicit template instantiation
template std::string IO::gen_key_bucket<Point_3>(const Point_3& p);
template std::string IO::gen_key_bucket<Vector_3>(const Vector_3& p);
template std::string IO::gen_key_bucket<Vector_3>(const Vector_3& p);

0 comments on commit 996ca5b

Please sign in to comment.