File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030namespace std {
3131 %template (IntVector) vector<int >;
32- %template (FloatVector) vector<double >;
32+ %template (FloatVector) vector<float >;
3333 %template (ObjVector) vector<IfcGeomObject>;
3434};
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ namespace IfcGeomObjects {
2828 class IfcMesh {
2929 public:
3030 int id;
31- std::vector<double > verts;
31+ std::vector<float > verts;
3232 std::vector<int > faces;
3333 std::vector<int > edges;
34- std::vector<double > normals;
34+ std::vector<float > normals;
3535 std::string brep_data;
3636 };
3737
@@ -42,7 +42,7 @@ namespace IfcGeomObjects {
4242 std::string name;
4343 std::string type;
4444 std::string guid;
45- std::vector<double > matrix;
45+ std::vector<float > matrix;
4646 const std::vector<int > name_as_intvector () {
4747 std::vector<int > r;
4848 for ( std::string::const_iterator it = name.begin (); it != name.end (); ++ it ) r.push_back (*it);
You can’t perform that action at this time.
0 commit comments