Skip to content

Commit 7f41e45

Browse files
authored
Merge pull request #338 from wsw0108/fix-build
Fix build for non-wasm
2 parents bdf1d5b + 3021e98 commit 7f41e45

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/wasm/include/web-ifc-geometry.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <sstream>
1515
#include <fstream>
1616
#include <iostream>
17+
#include <cmath>
1718

1819
#include <glm/glm.hpp>
1920
#include <glm/gtx/transform.hpp>
@@ -25,6 +26,7 @@
2526
#include <tinynurbs/tinynurbs.h>
2627

2728
#include "../parsing/ifc-schema.h"
29+
#include "../parsing/IfcLoader.h"
2830
#include "util.h"
2931

3032
const double EXTRUSION_DISTANCE_HALFSPACE_M = 50;

src/wasm/parsing/IfcLoader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
44

55
#include <sstream>
6+
#include <algorithm>
67
#include "IfcLoader.h"
78
#include "LoaderError.h"
89
#include "../utility/Logging.h"

0 commit comments

Comments
 (0)