Fix JSHint errors.

This commit is contained in:
kovacsv 2021-06-12 19:51:23 +02:00
parent 4df8d25236
commit 64cad6383a
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@
"OV" : true,
"THREE" : false,
"rhino3dm" : false,
"IfcAPI" : false,
"TextEncoder" : false,
"TextDecoder" : false,
"XMLHttpRequest" : false,

View File

@ -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);
}