Add IFCCONVERT_DOUBLE_PRECISION build option

This commit is contained in:
Stinkfist0
2016-03-10 17:00:06 +02:00
parent 4953b35849
commit b9c5b0e6c8
5 changed files with 35 additions and 30 deletions
+5 -1
View File
@@ -20,7 +20,11 @@
#ifndef GEOMETRYSERIALIZER_H
#define GEOMETRYSERIALIZER_H
typedef double real_t; /**< @todo Will be configurable */
#ifdef IFCCONVERT_DOUBLE_PRECISION
typedef double real_t;
#else
typedef float real_t;
#endif
#include "../ifcconvert/Serializer.h"
#include "../ifcgeom/IfcGeomIterator.h"