arcanumcube 0.2.2 → 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.
@@ -1447,7 +1447,7 @@ class WebGLArcanumCube extends ArcanumCube {
1447
1447
  const qb = new THREE.Quaternion();
1448
1448
  const cubeList = Object.values(this._cubeMap);
1449
1449
  if (duration === 0) {
1450
- cubeList.forEach((cube, index) => {
1450
+ cubeList.forEach((cube) => {
1451
1451
  cube.getGroup().quaternion.copy(qb);
1452
1452
  });
1453
1453
  super.reset();
@@ -1693,7 +1693,7 @@ class WebGLArcanumCube extends ArcanumCube {
1693
1693
  const opts = {};
1694
1694
  const ontwisted = options?.onTwisted;
1695
1695
  if (ontwisted)
1696
- opts.onTwisted = (self, twist2, n1, n2) => ontwisted(this, twist2, i + 1, len);
1696
+ opts.onTwisted = (self, twist2) => ontwisted(this, twist2, i + 1, len);
1697
1697
  if (i === len - 1 && options?.onComplete) opts.onComplete = options.onComplete;
1698
1698
  const t = this._easingTwist(c, reverse, lap, cancel, opts);
1699
1699
  this._easings.add(t);