shop-components 0.1.12 → 0.1.14

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.
@@ -3,9 +3,9 @@ import { Tween } from '@tweenjs/tween.js';
3
3
  import { Scene3D } from '../scene';
4
4
  export declare class SizeBox extends Object3D {
5
5
  private _box3;
6
- private _line1;
7
- private _line2;
8
- private _line3;
6
+ private _line11;
7
+ private _line12;
8
+ private _line13;
9
9
  private _outline;
10
10
  private _object;
11
11
  _fitAnimation: Tween<any> | undefined;
@@ -0,0 +1,14 @@
1
+ import { Object3D, Vector3 } from 'three';
2
+ export declare class SizeLine extends Object3D {
3
+ private _startWith?;
4
+ private _showText;
5
+ private _line;
6
+ private _text;
7
+ private _textWrapper;
8
+ private _tw;
9
+ constructor(_startWith?: string | undefined, _showText?: boolean);
10
+ reset(): void;
11
+ update(start: Vector3, end: Vector3): void;
12
+ updateDirection(pos: Vector3): void;
13
+ updateSize(pos: Vector3): void;
14
+ }
@@ -65,6 +65,7 @@ export declare enum SlotState {
65
65
  export type Scene3DEvents = 'slot-select';
66
66
  export interface SceneProps {
67
67
  useSound: boolean;
68
+ fov?: number;
68
69
  }
69
70
  export declare class Scene3D {
70
71
  props: SceneProps;
@@ -1,4 +1,4 @@
1
- import { Box3, Mesh, Object3D, Vector2, Vector3 } from 'three';
1
+ import { Box3, Mesh, Object3D, Vector3 } from 'three';
2
2
  export declare const clearThreeObjectMesh: (object: Object3D) => void;
3
3
  export declare const uuid: () => string;
4
4
  export declare function getElementLeftPosition(element: any): {
@@ -38,4 +38,3 @@ export declare const generateLogoSize: (m: Mesh) => {
38
38
  width: number;
39
39
  height: number;
40
40
  };
41
- export declare function findPositionFromUV(mesh: Mesh, targetUV: Vector2): Vector3 | null;