@spiffcommerce/preview 4.1.0-alpha.12 → 4.1.0-alpha.13

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Engine } from '@babylonjs/core/Engines/engine';
2
2
  import { ISceneLoaderProgressEvent } from '@babylonjs/core/Loading/sceneLoader';
3
- import { Vector3, Quaternion } from '@babylonjs/core/Maths/math.vector';
3
+ import { Vector3 } from '@babylonjs/core/Maths/math.vector';
4
4
  import { Scene } from '@babylonjs/core/scene';
5
5
  import { Mesh } from '@babylonjs/core/Meshes/mesh';
6
6
  import { AutoRotationBehavior } from '@babylonjs/core/Behaviors/Cameras/autoRotationBehavior';
@@ -1101,24 +1101,13 @@ declare class SpiffCommerce3DPreviewService implements ThreeDPreviewService {
1101
1101
  modelUnloaded(modelContainer: ModelContainer): void;
1102
1102
  private triggerModelLoadEvent;
1103
1103
  /**
1104
- * Rotates a transform around the origin.
1105
- * @param transform The transform to rotate. All values are optional and default to standard identity values.
1106
- * @param axis The axis to rotate around. Defaults to the Y axis.
1107
- * @param angle The angle to rotate by. Defaults to PI (180 degrees);
1104
+ * Flips a transform around the origin.
1108
1105
  */
1109
- rotateAroundOrigin(transform: {
1110
- position?: Vector;
1111
- rotation?: Vector;
1112
- scale?: Vector;
1113
- }, axis?: Vector, angle?: number): {
1106
+ flipTransform(position?: Vector3, rotation?: Vector3, scale?: Vector3): {
1114
1107
  position: Vector;
1115
1108
  rotation: Vector;
1116
1109
  scale: Vector;
1117
1110
  };
1118
- vecToQuat(rotation: Vector): Quaternion;
1119
- quatToVec(quat: Quaternion): Vector;
1120
- private toBabylonVector3;
1121
- private fromBabylonVector3;
1122
1111
  private handleMaterialProgressCallback;
1123
1112
  private handleModelProgressCallback;
1124
1113
  /**