math-rust-lib 0.2.3 → 0.2.4
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.d.ts +0 -1
- package/math_rust_lib_bg.js +1 -11
- package/math_rust_lib_bg.wasm +0 -0
- package/package.json +1 -1
package/math_rust_lib.d.ts
CHANGED
package/math_rust_lib_bg.js
CHANGED
|
@@ -569,8 +569,7 @@ export class Vec3 {
|
|
|
569
569
|
*/
|
|
570
570
|
add(other) {
|
|
571
571
|
_assertClass(other, Vec3);
|
|
572
|
-
|
|
573
|
-
const ret = wasm.vec3_add(this.__wbg_ptr, ptr0);
|
|
572
|
+
const ret = wasm.vec3_add(this.__wbg_ptr, other.__wbg_ptr);
|
|
574
573
|
return Vec3.__wrap(ret);
|
|
575
574
|
}
|
|
576
575
|
/**
|
|
@@ -636,15 +635,6 @@ export class Vec3 {
|
|
|
636
635
|
const ret = wasm.vec3_length(this.__wbg_ptr);
|
|
637
636
|
return ret;
|
|
638
637
|
}
|
|
639
|
-
/**
|
|
640
|
-
* @param {Vec3} other
|
|
641
|
-
* @returns {Vec3}
|
|
642
|
-
*/
|
|
643
|
-
subtract(other) {
|
|
644
|
-
_assertClass(other, Vec3);
|
|
645
|
-
const ret = wasm.vec3_subtract(this.__wbg_ptr, other.__wbg_ptr);
|
|
646
|
-
return Vec3.__wrap(ret);
|
|
647
|
-
}
|
|
648
638
|
/**
|
|
649
639
|
* @returns {Float32Array}
|
|
650
640
|
*/
|
package/math_rust_lib_bg.wasm
CHANGED
|
Binary file
|