math-rust-lib 0.2.1 → 0.2.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/math_rust_lib_bg.js +2 -1
- package/math_rust_lib_bg.wasm +0 -0
- package/package.json +1 -1
package/math_rust_lib_bg.js
CHANGED
|
@@ -641,9 +641,10 @@ export class Vec3 {
|
|
|
641
641
|
* @returns {Vec3}
|
|
642
642
|
*/
|
|
643
643
|
subtract(other) {
|
|
644
|
+
const ptr = this.__destroy_into_raw();
|
|
644
645
|
_assertClass(other, Vec3);
|
|
645
646
|
var ptr0 = other.__destroy_into_raw();
|
|
646
|
-
const ret = wasm.vec3_subtract(
|
|
647
|
+
const ret = wasm.vec3_subtract(ptr, ptr0);
|
|
647
648
|
return Vec3.__wrap(ret);
|
|
648
649
|
}
|
|
649
650
|
/**
|
package/math_rust_lib_bg.wasm
CHANGED
|
Binary file
|