math-rust-lib 0.2.2 → 0.2.3

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.
@@ -641,10 +641,8 @@ export class Vec3 {
641
641
  * @returns {Vec3}
642
642
  */
643
643
  subtract(other) {
644
- const ptr = this.__destroy_into_raw();
645
644
  _assertClass(other, Vec3);
646
- var ptr0 = other.__destroy_into_raw();
647
- const ret = wasm.vec3_subtract(ptr, ptr0);
645
+ const ret = wasm.vec3_subtract(this.__wbg_ptr, other.__wbg_ptr);
648
646
  return Vec3.__wrap(ret);
649
647
  }
650
648
  /**
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "math-rust-lib",
3
3
  "type": "module",
4
- "version": "0.2.2",
4
+ "version": "0.2.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",