@ifc-lite/wasm 10.0.0 → 10.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/ifc-lite.d.ts +2 -0
- package/pkg/ifc-lite.js +16 -0
- package/pkg/ifc-lite_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/ifc-lite.d.ts
CHANGED
|
@@ -221,6 +221,7 @@ export class ClashRunResult {
|
|
|
221
221
|
readonly a: Uint32Array;
|
|
222
222
|
readonly b: Uint32Array;
|
|
223
223
|
readonly bounds: Float64Array;
|
|
224
|
+
readonly depthFloor: Float64Array;
|
|
224
225
|
readonly distance: Float64Array;
|
|
225
226
|
readonly distanceKind: Uint8Array;
|
|
226
227
|
readonly points: Float64Array;
|
|
@@ -2330,6 +2331,7 @@ export interface InitOutput {
|
|
|
2330
2331
|
readonly clashrunresult_a: (a: number, b: number) => void;
|
|
2331
2332
|
readonly clashrunresult_b: (a: number, b: number) => void;
|
|
2332
2333
|
readonly clashrunresult_bounds: (a: number, b: number) => void;
|
|
2334
|
+
readonly clashrunresult_depthFloor: (a: number, b: number) => void;
|
|
2333
2335
|
readonly clashrunresult_distance: (a: number, b: number) => void;
|
|
2334
2336
|
readonly clashrunresult_distanceKind: (a: number, b: number) => void;
|
|
2335
2337
|
readonly clashrunresult_points: (a: number, b: number) => void;
|
package/pkg/ifc-lite.js
CHANGED
|
@@ -223,6 +223,22 @@ export class ClashRunResult {
|
|
|
223
223
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* @returns {Float64Array}
|
|
228
|
+
*/
|
|
229
|
+
get depthFloor() {
|
|
230
|
+
try {
|
|
231
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
232
|
+
wasm.clashrunresult_depthFloor(retptr, this.__wbg_ptr);
|
|
233
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
234
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
235
|
+
var v1 = getArrayF64FromWasm0(r0, r1).slice();
|
|
236
|
+
wasm.__wbindgen_export4(r0, r1 * 8, 8);
|
|
237
|
+
return v1;
|
|
238
|
+
} finally {
|
|
239
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
226
242
|
/**
|
|
227
243
|
* @returns {Float64Array}
|
|
228
244
|
*/
|
package/pkg/ifc-lite_bg.wasm
CHANGED
|
Binary file
|