Fix JSHint errors.
This commit is contained in:
parent
4df8d25236
commit
64cad6383a
@ -22,6 +22,7 @@
|
||||
"OV" : true,
|
||||
"THREE" : false,
|
||||
"rhino3dm" : false,
|
||||
"IfcAPI" : false,
|
||||
"TextEncoder" : false,
|
||||
"TextDecoder" : false,
|
||||
"XMLHttpRequest" : false,
|
||||
|
||||
4
source/external/ifcimporter.js
vendored
4
source/external/ifcimporter.js
vendored
@ -41,7 +41,7 @@ OV.ImporterIfc = class extends OV.ImporterBase
|
||||
success : function () {
|
||||
obj.ifc = new IfcAPI ();
|
||||
obj.ifc.Init ().then (function () {
|
||||
obj.ImportIfcContent (fileContent)
|
||||
obj.ImportIfcContent (fileContent);
|
||||
onFinish ();
|
||||
});
|
||||
},
|
||||
@ -90,7 +90,7 @@ OV.ImporterIfc = class extends OV.ImporterBase
|
||||
const x = ifcVertices[i];
|
||||
const y = ifcVertices[i + 1];
|
||||
const z = ifcVertices[i + 2];
|
||||
const coord = new OV.Coord3D (x, y, z)
|
||||
const coord = new OV.Coord3D (x, y, z);
|
||||
const transformed = transformation.TransformCoord3D (coord);
|
||||
mesh.AddVertex (transformed);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user