@tresjs/cientos 5.0.2 → 5.1.0

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">
4
4
  <a href="https://www.npmjs.com/package/@tresjs/cientos"><img src="https://img.shields.io/npm/v/@tresjs/cientos/latest?color=FBB03B" alt="npm package"></a>
5
5
  <a href="https://www.npmjs.com/package/@tresjs/cientos"><img src="https://img.shields.io/npm/dm/@tresjs/cientos?color=FBB03B" alt="npm downloads"></a>
6
- <a href="https://discord.gg/UCr96AQmWn"><img src="https://img.shields.io/badge/chat-discord-purple?style=flat&logo=discord" alt="discord chat"></a>
6
+ <a href="https://tresjs.org/discord"><img src="https://img.shields.io/badge/chat-discord-purple?style=flat&logo=discord" alt="discord chat"></a>
7
7
  </p>
8
8
  <br/>
9
9
 
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<OutlineProps, {
23
23
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OutlineProps> & Readonly<{}>, {
24
24
  color: TresColor;
25
25
  renderOrder: number;
26
+ angle: number;
26
27
  opacity: number;
27
28
  transparent: boolean;
28
29
  polygonOffset: boolean;
29
30
  polygonOffsetFactor: number;
30
31
  toneMapped: boolean;
31
- angle: number;
32
32
  thickness: number;
33
33
  screenspace: boolean;
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -4,22 +4,22 @@ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
6
  refs: {
7
- outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
+ outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
8
8
  P: {};
9
9
  B: {};
10
10
  D: {};
11
11
  C: {};
12
12
  M: {};
13
13
  Defaults: {};
14
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
15
- innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
14
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
15
+ innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
16
16
  P: {};
17
17
  B: {};
18
18
  D: {};
19
19
  C: {};
20
20
  M: {};
21
21
  Defaults: {};
22
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
22
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
23
23
  };
24
24
  rootEl: any;
25
25
  };
@@ -27,22 +27,22 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
27
  declare const __VLS_component: import('vue').DefineComponent<{}, {
28
28
  instance: import('vue').ShallowRef<any, any>;
29
29
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
30
- outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
30
+ outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
31
31
  P: {};
32
32
  B: {};
33
33
  D: {};
34
34
  C: {};
35
35
  M: {};
36
36
  Defaults: {};
37
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
38
- innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
37
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
38
+ innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
39
39
  P: {};
40
40
  B: {};
41
41
  D: {};
42
42
  C: {};
43
43
  M: {};
44
44
  Defaults: {};
45
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
45
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
46
46
  }, any>;
47
47
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
48
  export default _default;
@@ -4,13 +4,13 @@ export interface HelperProps {
4
4
  args?: any[];
5
5
  }
6
6
  declare const _default: import('vue').DefineComponent<HelperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HelperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
- objRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
+ objRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
8
8
  P: {};
9
9
  B: {};
10
10
  D: {};
11
11
  C: {};
12
12
  M: {};
13
13
  Defaults: {};
14
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three/webgpu').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three/webgpu').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
14
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
15
15
  }, any>;
16
16
  export default _default;
@@ -250,8 +250,8 @@ declare const _default: import('vue').DefineComponent<OrbitControlsProps, {
250
250
  onStart?: ((...args: any[]) => any) | undefined;
251
251
  onChange?: ((...args: any[]) => any) | undefined;
252
252
  }>, {
253
- maxDistance: number;
254
253
  target: TresVector3;
254
+ maxDistance: number;
255
255
  mouseButtons: {
256
256
  LEFT?: number;
257
257
  MIDDLE?: number;
@@ -49,8 +49,8 @@ declare const __VLS_component: import('vue').DefineComponent<HTMLProps, {
49
49
  onOnOcclude?: ((...args: any[]) => any) | undefined;
50
50
  }>, {
51
51
  sprite: boolean;
52
- geometry: any;
53
52
  pointerEvents: PointerEventsProperties;
53
+ geometry: any;
54
54
  transform: boolean;
55
55
  as: string;
56
56
  eps: number;
@@ -15,7 +15,7 @@ export interface Props {
15
15
  precise?: boolean;
16
16
  }
17
17
  declare const props: Readonly<{}> & {
18
- readonly into: number | Box3 | Vector3 | [number, number, number] | Object3D<import('three').Object3DEventMap> | null;
18
+ readonly into: number | Box3 | Vector3 | Object3D<import('three').Object3DEventMap> | [number, number, number] | null;
19
19
  readonly precise: boolean;
20
20
  } & {
21
21
  readonly precise: boolean;
@@ -29,13 +29,13 @@ declare const _default: import('vue').DefineComponent<RandomizedLightsProps, {
29
29
  position: VectorFlexibleParams;
30
30
  castShadow: boolean;
31
31
  count: number;
32
- near: number;
33
- far: number;
34
- radius: number;
35
32
  intensity: number;
36
- size: number;
37
33
  bias: number;
34
+ radius: number;
38
35
  mapSize: number;
36
+ near: number;
37
+ far: number;
38
+ size: number;
39
39
  ambient: number;
40
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
41
41
  lightsRef: unknown;
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
13
13
  map: Texture;
14
14
  color: any;
15
15
  args: any[];
16
- toneMapped: boolean;
17
16
  intensity: number;
17
+ toneMapped: boolean;
18
18
  form: "circle" | "ring" | "rect" | any;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
20
  mesh: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * name: @tresjs/cientos
3
- * version: v5.0.2
3
+ * version: v5.1.0
4
4
  * (c) 2025
5
5
  * description: Collection of useful helpers and fully functional, ready-made abstractions for Tres
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
7
7
  */
8
8
  import * as Ki from "three";
9
- import { TextureLoader as ao, DoubleSide as tn, WebGLCubeRenderTarget as T1, HalfFloatType as ci, CubeCamera as b1, Group as di, Quaternion as xt, Euler as Fs, AudioListener as w1, Audio as gT, AudioLoader as S1, MathUtils as vt, ShaderMaterial as ei, UniformsUtils as eo, Vector2 as Pe, Color as Be, Texture as On, FrontSide as ba, Mesh as Ae, MeshBasicMaterial as Ii, Vector3 as V, FramebufferTexture as sg, RawShaderMaterial as Gh, AdditiveBlending as Np, Box2 as M1, Vector4 as ls, UnsignedByteType as Hf, BufferGeometry as ps, InterleavedBuffer as Pp, InterleavedBufferAttribute as Mn, REVISION as Ip, BufferAttribute as Qt, TrianglesDrawMode as yT, TriangleFanDrawMode as $f, TriangleStripDrawMode as A1, CompressedTexture as Vh, RGBAFormat as E1, PropertyBinding as Un, InterpolateDiscrete as R1, Matrix4 as Qe, Scene as Ml, PlaneGeometry as qi, Uniform as $e, PerspectiveCamera as fi, WebGLRenderer as Al, InterpolateLinear as Bp, NearestFilter as vu, NearestMipmapNearestFilter as C1, NearestMipmapLinearFilter as N1, LinearFilter as Xs, LinearMipmapNearestFilter as P1, LinearMipmapLinearFilter as Fp, ClampToEdgeWrapping as ua, RepeatWrapping as to, MirroredRepeatWrapping as I1, Plane as kl, WebGLRenderTarget as ui, NoToneMapping as xT, UniformsLib as _u, DynamicDrawUsage as ic, Sphere as wa, BackSide as fh, BoxGeometry as ji, Triangle as vT, Object3D as Js, Raycaster as Dp, LineBasicMaterial as El, CylinderGeometry as xi, Float32BufferAttribute as Is, Line as at, OctahedronGeometry as Ar, SphereGeometry as _T, TorusGeometry as nc, MOUSE as Ai, TOUCH as Xi, Spherical as Tu, OrthographicCamera as hr, Ray as TT, Loader as zl, LoaderUtils as Qo, FileLoader as so, MeshPhysicalMaterial as on, SpotLight as B1, PointLight as Wf, DirectionalLight as Lp, InstancedMesh as F1, InstancedBufferAttribute as bT, ImageBitmapLoader as wT, PointsMaterial as D1, Material as Hh, MeshStandardMaterial as Gl, SkinnedMesh as Op, LineSegments as ST, LineLoop as MT, Points as L1, Skeleton as O1, AnimationClip as U1, Bone as jf, VectorKeyframeTrack as qf, NumberKeyframeTrack as Xf, QuaternionKeyframeTrack as Yf, Interpolant as AT, Box3 as Bs, ExtrudeGeometry as ET, Curve as RT, MeshPhongMaterial as $h, MeshLambertMaterial as k1, EquirectangularReflectionMapping as cu, AmbientLight as CT, Uint16BufferAttribute as NT, Matrix3 as kr, ShapePath as er, DataTextureLoader as PT, FloatType as uu, DataUtils as rc, ShapeUtils as IT, Shape as BT, Path as Wh, InstancedBufferGeometry as FT, InstancedInterleavedBuffer as Kf, WireframeGeometry as DT, Line3 as LT, AlwaysStencilFunc as OT, ReplaceStencilOp as jh, AnimationMixer as UT, KeepStencilOp as qh, NotEqualStencilFunc as ig, EqualStencilFunc as ng, DepthTexture as z1, EdgesGeometry as kT, CubeTextureLoader as zT, CubeReflectionMapping as GT, ShapeGeometry as VT, DefaultLoadingManager as oc, VideoTexture as HT, Clock as $T, NoBlending as WT, Camera as jT, TangentSpaceNormalMap as qT, LOD as XT, CatmullRomCurve3 as YT, QuadraticBezierCurve3 as G1, CubicBezierCurve3 as KT, MeshDepthMaterial as rg, ShaderChunk as Xh, DataTexture as V1, UVMapping as ZT, IcosahedronGeometry as QT } from "three";
10
- import { defineComponent as _e, watch as re, ref as Fe, shallowRef as de, withAsyncContext as Up, onUnmounted as kt, createElementBlock as ve, openBlock as me, renderSlot as Ze, createElementVNode as Ee, unref as k, getCurrentScope as JT, onScopeDispose as eb, onMounted as an, nextTick as kp, getCurrentInstance as zp, isRef as bu, hasInjectionContext as H1, inject as Gp, toValue as Le, computed as Ce, reactive as ha, watchEffect as Pt, isReactive as Rl, createVNode as An, mergeProps as ft, provide as tb, toRefs as rt, shallowReactive as $1, onBeforeUnmount as ph, useSlots as Vp, createCommentVNode as ms, createBlock as En, Fragment as W1, renderList as j1, useAttrs as sb, render as ib, triggerRef as nb, withCtx as ac, Suspense as rb, normalizeProps as ob, toRaw as og } from "vue";
9
+ import { TextureLoader as ao, DoubleSide as tn, WebGLCubeRenderTarget as T1, HalfFloatType as ci, CubeCamera as b1, Group as di, Quaternion as xt, Euler as Fs, AudioListener as w1, Audio as gT, AudioLoader as S1, MathUtils as vt, ShaderMaterial as ei, UniformsUtils as eo, Vector2 as Pe, Color as Be, Texture as On, FrontSide as ba, Mesh as Ae, MeshBasicMaterial as Ii, Vector3 as V, FramebufferTexture as sg, RawShaderMaterial as Gh, AdditiveBlending as Np, Box2 as M1, Vector4 as cs, UnsignedByteType as Hf, BufferGeometry as ms, InterleavedBuffer as Pp, InterleavedBufferAttribute as Mn, REVISION as Ip, BufferAttribute as Qt, TrianglesDrawMode as yT, TriangleFanDrawMode as $f, TriangleStripDrawMode as A1, CompressedTexture as Vh, RGBAFormat as E1, PropertyBinding as Un, InterpolateDiscrete as R1, Matrix4 as Qe, Scene as Ml, PlaneGeometry as qi, Uniform as $e, PerspectiveCamera as fi, WebGLRenderer as Al, InterpolateLinear as Bp, NearestFilter as vu, NearestMipmapNearestFilter as C1, NearestMipmapLinearFilter as N1, LinearFilter as Xs, LinearMipmapNearestFilter as P1, LinearMipmapLinearFilter as Fp, ClampToEdgeWrapping as ua, RepeatWrapping as to, MirroredRepeatWrapping as I1, Plane as kl, WebGLRenderTarget as ui, NoToneMapping as xT, UniformsLib as _u, DynamicDrawUsage as ic, Sphere as wa, BackSide as fh, BoxGeometry as ji, Triangle as vT, Object3D as Js, Raycaster as Dp, LineBasicMaterial as El, CylinderGeometry as xi, Float32BufferAttribute as Is, Line as at, OctahedronGeometry as Ar, SphereGeometry as _T, TorusGeometry as nc, MOUSE as Ai, TOUCH as Xi, Spherical as Tu, OrthographicCamera as hr, Ray as TT, Loader as zl, LoaderUtils as Qo, FileLoader as so, MeshPhysicalMaterial as on, SpotLight as B1, PointLight as Wf, DirectionalLight as Lp, InstancedMesh as F1, InstancedBufferAttribute as bT, ImageBitmapLoader as wT, PointsMaterial as D1, Material as Hh, MeshStandardMaterial as Gl, SkinnedMesh as Op, LineSegments as ST, LineLoop as MT, Points as L1, Skeleton as O1, AnimationClip as U1, Bone as jf, VectorKeyframeTrack as qf, NumberKeyframeTrack as Xf, QuaternionKeyframeTrack as Yf, Interpolant as AT, Box3 as Bs, ExtrudeGeometry as ET, Curve as RT, MeshPhongMaterial as $h, MeshLambertMaterial as k1, EquirectangularReflectionMapping as cu, AmbientLight as CT, Uint16BufferAttribute as NT, Matrix3 as kr, ShapePath as er, DataTextureLoader as PT, FloatType as uu, DataUtils as rc, ShapeUtils as IT, Shape as BT, Path as Wh, InstancedBufferGeometry as FT, InstancedInterleavedBuffer as Kf, WireframeGeometry as DT, Line3 as LT, AlwaysStencilFunc as OT, ReplaceStencilOp as jh, AnimationMixer as UT, KeepStencilOp as qh, NotEqualStencilFunc as ig, EqualStencilFunc as ng, DepthTexture as z1, EdgesGeometry as kT, CubeTextureLoader as zT, CubeReflectionMapping as GT, ShapeGeometry as VT, DefaultLoadingManager as oc, VideoTexture as HT, Clock as $T, NoBlending as WT, Camera as jT, TangentSpaceNormalMap as qT, LOD as XT, CatmullRomCurve3 as YT, QuadraticBezierCurve3 as G1, CubicBezierCurve3 as KT, MeshDepthMaterial as rg, ShaderChunk as Xh, DataTexture as V1, UVMapping as ZT, IcosahedronGeometry as QT } from "three";
10
+ import { defineComponent as _e, watch as re, ref as Fe, shallowRef as de, withAsyncContext as Up, onUnmounted as kt, createElementBlock as ve, openBlock as me, renderSlot as Ze, createElementVNode as Ee, unref as k, getCurrentScope as JT, onScopeDispose as eb, onMounted as an, nextTick as kp, getCurrentInstance as zp, isRef as bu, hasInjectionContext as H1, inject as Gp, toValue as Le, computed as Ce, reactive as ha, watchEffect as Pt, isReactive as Rl, createVNode as An, mergeProps as ft, provide as tb, toRefs as rt, shallowReactive as $1, onBeforeUnmount as ph, useSlots as Vp, createCommentVNode as ls, createBlock as En, Fragment as W1, renderList as j1, useAttrs as sb, render as ib, triggerRef as nb, withCtx as ac, Suspense as rb, normalizeProps as ob, toRaw as og } from "vue";
11
11
  import { logError as sn, useTres as ke, useLoop as ot, normalizeVectorFlexibleParam as Jo, useTresContext as si, extend as Vl, useLoader as Sa, normalizeColor as bn, logWarning as Hr, buildGraph as wu } from "@tresjs/core";
12
12
  function ab(a) {
13
13
  const e = lb(a), t = [];
@@ -1347,7 +1347,7 @@ class Cl extends Ae {
1347
1347
  this.addElement = function(x) {
1348
1348
  u.push(x);
1349
1349
  };
1350
- const p = new Pe(), m = new Pe(), g = new M1(), y = new ls();
1350
+ const p = new Pe(), m = new Pe(), g = new M1(), y = new cs();
1351
1351
  this.onBeforeRender = function(x, v, w) {
1352
1352
  x.getCurrentViewport(y);
1353
1353
  const A = x.getRenderTarget(), b = A !== null ? A.texture.type : Hf;
@@ -1456,7 +1456,7 @@ Z1.Shader = {
1456
1456
  )
1457
1457
  };
1458
1458
  Cl.Geometry = (function() {
1459
- const a = new ps(), e = new Float32Array([
1459
+ const a = new ms(), e = new Float32Array([
1460
1460
  -1,
1461
1461
  -1,
1462
1462
  0,
@@ -3329,7 +3329,7 @@ const Sg = /* @__PURE__ */ (() => {
3329
3329
  const a = class extends Ae {
3330
3330
  constructor(t, s = {}) {
3331
3331
  super(t), this.isReflector = !0, this.type = "Reflector", this.camera = new fi();
3332
- const i = this, n = s.color !== void 0 ? new Be(s.color) : new Be(8355711), r = s.textureWidth || 512, o = s.textureHeight || 512, l = s.clipBias || 0, c = s.shader || a.ReflectorShader, u = s.multisample !== void 0 ? s.multisample : 4, h = new kl(), f = new V(), d = new V(), p = new V(), m = new Qe(), g = new V(0, 0, -1), y = new ls(), x = new V(), v = new V(), w = new ls(), A = new Qe(), b = this.camera, M = new ui(r, o, {
3332
+ const i = this, n = s.color !== void 0 ? new Be(s.color) : new Be(8355711), r = s.textureWidth || 512, o = s.textureHeight || 512, l = s.clipBias || 0, c = s.shader || a.ReflectorShader, u = s.multisample !== void 0 ? s.multisample : 4, h = new kl(), f = new V(), d = new V(), p = new V(), m = new Qe(), g = new V(0, 0, -1), y = new cs(), x = new V(), v = new V(), w = new cs(), A = new Qe(), b = this.camera, M = new ui(r, o, {
3333
3333
  samples: u,
3334
3334
  type: ci
3335
3335
  }), _ = new ei({
@@ -3430,7 +3430,7 @@ const Sg = /* @__PURE__ */ (() => {
3430
3430
  class cS extends Ae {
3431
3431
  constructor(e, t = {}) {
3432
3432
  super(e), this.isWater = !0;
3433
- const s = this, i = t.textureWidth !== void 0 ? t.textureWidth : 512, n = t.textureHeight !== void 0 ? t.textureHeight : 512, r = t.clipBias !== void 0 ? t.clipBias : 0, o = t.alpha !== void 0 ? t.alpha : 1, l = t.time !== void 0 ? t.time : 0, c = t.waterNormals !== void 0 ? t.waterNormals : null, u = t.sunDirection !== void 0 ? t.sunDirection : new V(0.70707, 0.70707, 0), h = new Be(t.sunColor !== void 0 ? t.sunColor : 16777215), f = new Be(t.waterColor !== void 0 ? t.waterColor : 8355711), d = t.eye !== void 0 ? t.eye : new V(0, 0, 0), p = t.distortionScale !== void 0 ? t.distortionScale : 20, m = t.side !== void 0 ? t.side : ba, g = t.fog !== void 0 ? t.fog : !1, y = new kl(), x = new V(), v = new V(), w = new V(), A = new Qe(), b = new V(0, 0, -1), M = new ls(), _ = new V(), T = new V(), S = new ls(), E = new Qe(), C = new fi(), B = new ui(i, n), D = {
3433
+ const s = this, i = t.textureWidth !== void 0 ? t.textureWidth : 512, n = t.textureHeight !== void 0 ? t.textureHeight : 512, r = t.clipBias !== void 0 ? t.clipBias : 0, o = t.alpha !== void 0 ? t.alpha : 1, l = t.time !== void 0 ? t.time : 0, c = t.waterNormals !== void 0 ? t.waterNormals : null, u = t.sunDirection !== void 0 ? t.sunDirection : new V(0.70707, 0.70707, 0), h = new Be(t.sunColor !== void 0 ? t.sunColor : 16777215), f = new Be(t.waterColor !== void 0 ? t.waterColor : 8355711), d = t.eye !== void 0 ? t.eye : new V(0, 0, 0), p = t.distortionScale !== void 0 ? t.distortionScale : 20, m = t.side !== void 0 ? t.side : ba, g = t.fog !== void 0 ? t.fog : !1, y = new kl(), x = new V(), v = new V(), w = new V(), A = new Qe(), b = new V(0, 0, -1), M = new cs(), _ = new V(), T = new V(), S = new cs(), E = new Qe(), C = new fi(), B = new ui(i, n), D = {
3434
3434
  uniforms: eo.merge([
3435
3435
  _u.fog,
3436
3436
  _u.lights,
@@ -3575,7 +3575,7 @@ class cS extends Ae {
3575
3575
  }
3576
3576
  class uS extends Ae {
3577
3577
  constructor(e, t, s = !1, i = !1, n = 1e4) {
3578
- const r = new ps();
3578
+ const r = new ms();
3579
3579
  super(r, t), this.isMarchingCubes = !0;
3580
3580
  const o = this, l = new Float32Array(36), c = new Float32Array(36), u = new Float32Array(36);
3581
3581
  this.enableUvs = s, this.enableColors = i, this.init = function(x) {
@@ -8617,15 +8617,15 @@ class bS extends Js {
8617
8617
  v.color.set(7895160);
8618
8618
  const w = x.clone();
8619
8619
  w.opacity = 0.25;
8620
- const A = new xi(0, 0.05, 0.2, 12, 1, !1), b = new ji(0.125, 0.125, 0.125), M = new ps();
8620
+ const A = new xi(0, 0.05, 0.2, 12, 1, !1), b = new ji(0.125, 0.125, 0.125), M = new ms();
8621
8621
  M.setAttribute("position", new Is([0, 0, 0, 1, 0, 0], 3));
8622
8622
  const _ = (ie, ue) => {
8623
- const ge = new ps(), we = [];
8623
+ const ge = new ms(), we = [];
8624
8624
  for (let W = 0; W <= 64 * ue; ++W)
8625
8625
  we.push(0, Math.cos(W / 32 * Math.PI) * ie, Math.sin(W / 32 * Math.PI) * ie);
8626
8626
  return ge.setAttribute("position", new Is(we, 3)), ge;
8627
8627
  }, T = () => {
8628
- const ie = new ps();
8628
+ const ie = new ms();
8629
8629
  return ie.setAttribute("position", new Is([0, 0, 0, 1, 1, 1], 3)), ie;
8630
8630
  }, S = {
8631
8631
  X: [
@@ -10625,7 +10625,7 @@ class dM {
10625
10625
  r.push(h.promise);
10626
10626
  else {
10627
10627
  let f;
10628
- c.extensions && c.extensions[nt.KHR_DRACO_MESH_COMPRESSION] ? f = n(c) : f = Dg(new ps(), c, t), i[u] = { primitive: c, promise: f }, r.push(f);
10628
+ c.extensions && c.extensions[nt.KHR_DRACO_MESH_COMPRESSION] ? f = n(c) : f = Dg(new ms(), c, t), i[u] = { primitive: c, promise: f }, r.push(f);
10629
10629
  }
10630
10630
  }
10631
10631
  return Promise.all(r);
@@ -11131,7 +11131,7 @@ function yM(a, e, t, s) {
11131
11131
  return i;
11132
11132
  }
11133
11133
  function xM(a, e, t, s) {
11134
- const i = mx(a, s, e), n = yM(i, s, a, e), r = new ls(0, 0, 0, 0);
11134
+ const i = mx(a, s, e), n = yM(i, s, a, e), r = new cs(0, 0, 0, 0);
11135
11135
  for (let o = 0; o <= a; ++o) {
11136
11136
  const l = t[i - a + o], c = n[o], u = l.w * c;
11137
11137
  r.x += l.x * u, r.y += l.y * u, r.z += l.z * u, r.w += l.w * c;
@@ -11202,7 +11202,7 @@ function _M(a, e, t, s, i) {
11202
11202
  r[u] = h;
11203
11203
  }
11204
11204
  for (let u = n + 1; u <= i + 1; ++u)
11205
- r[u] = new ls(0, 0, 0);
11205
+ r[u] = new cs(0, 0, 0);
11206
11206
  return r;
11207
11207
  }
11208
11208
  function TM(a, e) {
@@ -11240,7 +11240,7 @@ class Og extends RT {
11240
11240
  super(), this.degree = e, this.knots = t, this.controlPoints = [], this.startKnot = i || 0, this.endKnot = n || this.knots.length - 1;
11241
11241
  for (let r = 0; r < s.length; ++r) {
11242
11242
  const o = s[r];
11243
- this.controlPoints[r] = new ls(o.x, o.y, o.z, o.w);
11243
+ this.controlPoints[r] = new cs(o.x, o.y, o.z, o.w);
11244
11244
  }
11245
11245
  }
11246
11246
  getPoint(e, t) {
@@ -11830,7 +11830,7 @@ class AM {
11830
11830
  }
11831
11831
  // Generate a BufferGeometry from a node in FBXTree.Objects.Geometry
11832
11832
  genGeometry(e, t, s, i) {
11833
- const n = new ps();
11833
+ const n = new ms();
11834
11834
  e.attrName && (n.name = e.attrName);
11835
11835
  const r = this.parseGeoNode(e, t), o = this.genBuffers(r), l = new Is(o.vertex, 3);
11836
11836
  if (l.applyMatrix4(i), n.setAttribute("position", l), o.colors.length > 0 && n.setAttribute("color", new Is(o.colors, 3)), t && (n.setAttribute("skinIndex", new NT(o.weightsIndices, 4)), n.setAttribute("skinWeight", new Is(o.vertexWeights, 4)), n.FBX_Deformer = t), o.normal.length > 0) {
@@ -12033,13 +12033,13 @@ class AM {
12033
12033
  if (Og === void 0)
12034
12034
  return console.error(
12035
12035
  "THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."
12036
- ), new ps();
12036
+ ), new ms();
12037
12037
  const t = parseInt(e.Order);
12038
12038
  if (isNaN(t))
12039
- return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", e.Order, e.id), new ps();
12039
+ return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", e.Order, e.id), new ms();
12040
12040
  const s = t - 1, i = e.KnotVector.a, n = [], r = e.Points.a;
12041
12041
  for (let h = 0, f = r.length; h < f; h += 4)
12042
- n.push(new ls().fromArray(r, h));
12042
+ n.push(new cs().fromArray(r, h));
12043
12043
  let o, l;
12044
12044
  if (e.Form === "Closed")
12045
12045
  n.push(n[0]);
@@ -12049,7 +12049,7 @@ class AM {
12049
12049
  n.push(n[h]);
12050
12050
  }
12051
12051
  const u = new Og(s, i, n, o, l).getPoints(n.length * 12);
12052
- return new ps().setFromPoints(u);
12052
+ return new ms().setFromPoints(u);
12053
12053
  }
12054
12054
  }
12055
12055
  class EM {
@@ -13758,7 +13758,7 @@ const HM = "srgb", ld = /* @__PURE__ */ (() => {
13758
13758
  const r = [], o = [], l = [];
13759
13759
  if (a.pointsToStrokeWithBuffers(t, s, i, n, r, o, l) === 0)
13760
13760
  return null;
13761
- const c = new ps();
13761
+ const c = new ms();
13762
13762
  return c.setAttribute("position", new Is(r, 3)), c.setAttribute("normal", new Is(o, 3)), c.setAttribute("uv", new Is(l, 2)), c;
13763
13763
  }
13764
13764
  static pointsToStrokeWithBuffers(t, s, i, n, r, o, l, c) {
@@ -13952,7 +13952,7 @@ class $M extends zl {
13952
13952
  }), o;
13953
13953
  }
13954
13954
  _createGeometry(e) {
13955
- const t = new ps();
13955
+ const t = new ms();
13956
13956
  e.index && t.setIndex(new Qt(e.index.array, 1));
13957
13957
  for (let s = 0; s < e.attributes.length; s++) {
13958
13958
  const i = e.attributes[s], n = i.name, r = i.array, o = i.itemSize;
@@ -14748,7 +14748,7 @@ class Zp extends ei {
14748
14748
  }), this.setValues(e);
14749
14749
  }
14750
14750
  }
14751
- const ud = /* @__PURE__ */ new ls(), Vg = /* @__PURE__ */ new V(), Hg = /* @__PURE__ */ new V(), ns = /* @__PURE__ */ new ls(), rs = /* @__PURE__ */ new ls(), Di = /* @__PURE__ */ new ls(), hd = /* @__PURE__ */ new V(), dd = /* @__PURE__ */ new Qe(), as = /* @__PURE__ */ new LT(), $g = /* @__PURE__ */ new V(), gc = /* @__PURE__ */ new Bs(), yc = /* @__PURE__ */ new wa(), Li = /* @__PURE__ */ new ls();
14751
+ const ud = /* @__PURE__ */ new cs(), Vg = /* @__PURE__ */ new V(), Hg = /* @__PURE__ */ new V(), ns = /* @__PURE__ */ new cs(), rs = /* @__PURE__ */ new cs(), Di = /* @__PURE__ */ new cs(), hd = /* @__PURE__ */ new V(), dd = /* @__PURE__ */ new Qe(), as = /* @__PURE__ */ new LT(), $g = /* @__PURE__ */ new V(), gc = /* @__PURE__ */ new Bs(), yc = /* @__PURE__ */ new wa(), Li = /* @__PURE__ */ new cs();
14752
14752
  let Yi, Zr;
14753
14753
  function Wg(a, e, t) {
14754
14754
  return Li.set(0, 0, -e, 1).applyMatrix4(a.projectionMatrix), Li.multiplyScalar(1 / Li.w), Li.x = Zr / t.width, Li.y = Zr / t.height, Li.applyMatrix4(a.projectionMatrixInverse), Li.multiplyScalar(1 / Li.w), Math.abs(Math.max(Li.x, Li.y));
@@ -14855,7 +14855,7 @@ class YM extends XM {
14855
14855
  }
14856
14856
  class KM extends at {
14857
14857
  constructor(e, t = 1, s = 16, i = 2) {
14858
- const n = new ps(), r = s + i * 2, o = new Float32Array((r * 3 + 3) * 3);
14858
+ const n = new ms(), r = s + i * 2, o = new Float32Array((r * 3 + 3) * 3);
14859
14859
  n.setAttribute("position", new Qt(o, 3));
14860
14860
  const l = new El({ color: 65280 }), c = new El({ color: 16776960 });
14861
14861
  super(n, [c, l]), this.type = "PositionalAudioHelper", this.audio = e, this.range = t, this.divisionsInnerAngle = s, this.divisionsOuterAngle = i, this.update();
@@ -15261,9 +15261,9 @@ const ZM = ["object"], Nk = /* @__PURE__ */ _e({
15261
15261
  key: 0,
15262
15262
  args: [A.value, _.value],
15263
15263
  center: k(n)
15264
- }, null, 8, iA)) : ms("", !0),
15264
+ }, null, 8, iA)) : ls("", !0),
15265
15265
  Ze(T.$slots, "default")
15266
- ], 512)) : ms("", !0);
15266
+ ], 512)) : ls("", !0);
15267
15267
  }
15268
15268
  });
15269
15269
  function kk(a, e, t) {
@@ -15434,7 +15434,7 @@ const Gk = /* @__PURE__ */ _e({
15434
15434
  () => {
15435
15435
  if (n.value) {
15436
15436
  const l = n.value.parent;
15437
- if (l && "geometry" in l && l.geometry instanceof ps) {
15437
+ if (l && "geometry" in l && l.geometry instanceof ms) {
15438
15438
  const c = l.geometry;
15439
15439
  (c !== r.value || i.value !== o.value) && (r.value = c, o.value = i.value, n.value.geometry = new kT(c, i.value));
15440
15440
  }
@@ -15750,7 +15750,7 @@ let mA = class {
15750
15750
  var gd;
15751
15751
  const gA = "2.10.1", _c = 1 / 8, yA = /Mac/.test((gd = globalThis?.navigator) === null || gd === void 0 ? void 0 : gd.platform);
15752
15752
  let Ge, Kg, Tc, yd, Rs, qe, ht, bo, za, Oi, Ui, Nr, Zg, Qg, ni, Ga, wo, Jg, xd, ey, vd, _d, bc;
15753
- class hs extends mA {
15753
+ class ds extends mA {
15754
15754
  /**
15755
15755
  * Injects THREE as the dependency. You can then proceed to use CameraControls.
15756
15756
  *
@@ -15971,7 +15971,7 @@ class hs extends mA {
15971
15971
  this.dispatchEvent({ type: "control" });
15972
15972
  }, h = (y) => {
15973
15973
  if (!(!this._domElement || !this._enabled)) {
15974
- if (this.mouseButtons.right === hs.ACTION.NONE) {
15974
+ if (this.mouseButtons.right === ds.ACTION.NONE) {
15975
15975
  const x = y instanceof PointerEvent ? y.pointerId : 0, v = this._findPointerById(x);
15976
15976
  v && this._disposePointer(v), this._domElement.ownerDocument.removeEventListener("pointermove", o, { passive: !1 }), this._domElement.ownerDocument.removeEventListener("pointerup", l);
15977
15977
  return;
@@ -16434,7 +16434,7 @@ class hs extends mA {
16434
16434
  * @category Methods
16435
16435
  */
16436
16436
  fitToSphere(e, t) {
16437
- const s = [], n = "isObject3D" in e ? hs.createBoundingSphere(e, xd) : xd.copy(e);
16437
+ const s = [], n = "isObject3D" in e ? ds.createBoundingSphere(e, xd) : xd.copy(e);
16438
16438
  if (s.push(this.moveTo(n.center.x, n.center.y, n.center.z, t)), Cr(this._camera)) {
16439
16439
  const r = this.getDistanceToFitSphere(n.radius);
16440
16440
  s.push(this.dollyTo(r, t));
@@ -16958,15 +16958,15 @@ class hs extends mA {
16958
16958
  }
16959
16959
  }
16960
16960
  const wx = (a) => !!(a && a.isPerspectiveCamera), Sx = (a) => !!(a && a.isOrthographicCamera), xA = ["min-polar-angle", "max-polar-angle", "min-azimuth-angle", "max-azimuth-angle", "distance", "min-distance", "max-distance", "infinity-dolly", "min-zoom", "max-zoom", "smooth-time", "dragging-smooth-time", "max-speed", "azimuth-rotate-speed", "polar-rotate-speed", "dolly-speed", "dolly-drag-inverted", "truck-speed", "dolly-to-cursor", "drag-to-offset", "vertical-drag-to-forward", "boundary-friction", "rest-threshold", "collider-meshes", "args", "mouse-buttons", "touches"], ty = (a, e) => ({
16961
- left: hs.ACTION.ROTATE,
16962
- middle: hs.ACTION.DOLLY,
16963
- right: hs.ACTION.TRUCK,
16964
- wheel: wx(a) ? hs.ACTION.DOLLY : Sx(a) ? hs.ACTION.ZOOM : hs.ACTION.NONE,
16961
+ left: ds.ACTION.ROTATE,
16962
+ middle: ds.ACTION.DOLLY,
16963
+ right: ds.ACTION.TRUCK,
16964
+ wheel: wx(a) ? ds.ACTION.DOLLY : Sx(a) ? ds.ACTION.ZOOM : ds.ACTION.NONE,
16965
16965
  ...e
16966
16966
  }), sy = (a, e) => ({
16967
- one: hs.ACTION.TOUCH_ROTATE,
16968
- two: wx(a) ? hs.ACTION.TOUCH_DOLLY_TRUCK : Sx(a) ? hs.ACTION.TOUCH_ZOOM_TRUCK : hs.ACTION.NONE,
16969
- three: hs.ACTION.TOUCH_TRUCK,
16967
+ one: ds.ACTION.TOUCH_ROTATE,
16968
+ two: wx(a) ? ds.ACTION.TOUCH_DOLLY_TRUCK : Sx(a) ? ds.ACTION.TOUCH_ZOOM_TRUCK : ds.ACTION.NONE,
16969
+ three: ds.ACTION.TOUCH_TRUCK,
16970
16970
  ...e
16971
16971
  }), jk = /* @__PURE__ */ _e({
16972
16972
  __name: "CameraControls",
@@ -17041,9 +17041,9 @@ const wx = (a) => !!(a && a.isPerspectiveCamera), Sx = (a) => !!(a && a.isOrthog
17041
17041
  Spherical: Tu,
17042
17042
  Vector2: Pe,
17043
17043
  Vector3: V,
17044
- Vector4: ls
17044
+ Vector4: cs
17045
17045
  };
17046
- hs.install({ THREE: D });
17046
+ ds.install({ THREE: D });
17047
17047
  const { camera: G, renderer: O, extend: ce, controls: te, invalidate: H } = ke();
17048
17048
  re(s, () => {
17049
17049
  H();
@@ -17055,7 +17055,7 @@ const wx = (a) => !!(a && a.isPerspectiveCamera), Sx = (a) => !!(a && a.isOrthog
17055
17055
  s.camera || G.value,
17056
17056
  s.touches
17057
17057
  )), ge = de(null);
17058
- ce({ CameraControls: hs }), Pt(() => {
17058
+ ce({ CameraControls: ds }), Pt(() => {
17059
17059
  we(), ge.value && n.value ? te.value = ge.value : te.value = null;
17060
17060
  });
17061
17061
  function we() {
@@ -17104,7 +17104,7 @@ const wx = (a) => !!(a && a.isPerspectiveCamera), Sx = (a) => !!(a && a.isOrthog
17104
17104
  args: [a.camera || k(G), a.domElement || k(O).domElement],
17105
17105
  "mouse-buttons": ie.value,
17106
17106
  touches: ue.value
17107
- }, null, 8, xA)) : ms("", !0);
17107
+ }, null, 8, xA)) : ls("", !0);
17108
17108
  }
17109
17109
  });
17110
17110
  function vA(a, e, ...t) {
@@ -17173,7 +17173,7 @@ const qk = /* @__PURE__ */ _e({
17173
17173
  "dom-element": a.domElement || k(l).domElement,
17174
17174
  onIsLock: w,
17175
17175
  onChange: A
17176
- }, null, 8, ["selector", "make-default", "camera", "dom-element"])) : ms("", !0);
17176
+ }, null, 8, ["selector", "make-default", "camera", "dom-element"])) : ls("", !0);
17177
17177
  }
17178
17178
  }), _A = ["args", "auto-rotate", "auto-rotate-speed", "enable-damping", "damping-factor", "enable-pan", "key-pan-speed", "keys", "max-azimuth-angle", "min-azimuth-angle", "max-polar-angle", "min-polar-angle", "min-distance", "max-distance", "min-zoom", "max-zoom", "enable-zoom", "zoom-speed", "enable-rotate", "rotate-speed"], Yk = /* @__PURE__ */ _e({
17179
17179
  __name: "MapControls",
@@ -17263,7 +17263,7 @@ const qk = /* @__PURE__ */ _e({
17263
17263
  "zoom-speed": k(v),
17264
17264
  "enable-rotate": k(w),
17265
17265
  "rotate-speed": k(A)
17266
- }, null, 8, _A)) : ms("", !0);
17266
+ }, null, 8, _A)) : ls("", !0);
17267
17267
  }
17268
17268
  }), TA = ["target", "auto-rotate", "auto-rotate-speed", "enable-damping", "damping-factor", "enable-pan", "key-pan-speed", "keys", "max-azimuth-angle", "min-azimuth-angle", "max-polar-angle", "min-polar-angle", "min-distance", "max-distance", "min-zoom", "max-zoom", "touches", "enable-zoom", "zoom-speed", "enable-rotate", "rotate-speed", "mouse-buttons", "args"], Kk = /* @__PURE__ */ _e({
17269
17269
  __name: "OrbitControls",
@@ -17360,7 +17360,7 @@ const qk = /* @__PURE__ */ _e({
17360
17360
  "rotate-speed": k(_),
17361
17361
  "mouse-buttons": k(S),
17362
17362
  args: [a.camera || k(E), a.domElement || k(C).domElement]
17363
- }, null, 8, TA)) : ms("", !0);
17363
+ }, null, 8, TA)) : ls("", !0);
17364
17364
  }
17365
17365
  }), bA = ["args"], wA = /* @__PURE__ */ _e({
17366
17366
  __name: "PointerLockControls",
@@ -17396,7 +17396,7 @@ const qk = /* @__PURE__ */ _e({
17396
17396
  ref_key: "controlsRef",
17397
17397
  ref: u,
17398
17398
  args: [a.camera || k(n), a.domElement || k(r).domElement]
17399
- }, null, 8, bA)) : ms("", !0);
17399
+ }, null, 8, bA)) : ls("", !0);
17400
17400
  }
17401
17401
  }), Zk = /* @__PURE__ */ _e({
17402
17402
  __name: "ScrollControls",
@@ -17535,7 +17535,7 @@ const qk = /* @__PURE__ */ _e({
17535
17535
  "show-y": k(m),
17536
17536
  "show-z": k(g),
17537
17537
  visible: !0
17538
- }, null, 8, SA)) : ms("", !0);
17538
+ }, null, 8, SA)) : ls("", !0);
17539
17539
  }
17540
17540
  });
17541
17541
  function MA(a, e = {}) {
@@ -17630,7 +17630,7 @@ const AA = { key: 0 }, EA = ["geometry", "render-order"], Jk = /* @__PURE__ */ _
17630
17630
  layers: n
17631
17631
  }), kt(() => {
17632
17632
  r();
17633
- }), (o, l) => k(i) ? ms("", !0) : (me(), ve("TresGroup", AA, [
17633
+ }), (o, l) => k(i) ? ls("", !0) : (me(), ve("TresGroup", AA, [
17634
17634
  (me(!0), ve(W1, null, j1(k(n), ({ geometry: c, material: u, isStroke: h }, f) => (me(), ve("TresMesh", ft({
17635
17635
  key: `${f}`
17636
17636
  }, { ref_for: !0 }, h ? t.strokeMeshProps : t.fillMeshProps, {
@@ -17662,14 +17662,17 @@ const CA = ["object"], ez = /* @__PURE__ */ _e({
17662
17662
  receiveShadow: { type: Boolean, default: !1 }
17663
17663
  },
17664
17664
  setup(a, { expose: e }) {
17665
- const t = a, { state: s } = RA(t.path);
17665
+ const t = a, { state: s, isLoading: i } = RA(t.path);
17666
17666
  return e({
17667
17667
  instance: s
17668
17668
  }), Pt(() => {
17669
- s.value && (t.castShadow || t.receiveShadow) && s.value.traverse((i) => {
17670
- i instanceof Ae && (i.castShadow = t.castShadow, i.receiveShadow = t.receiveShadow);
17669
+ s.value && (t.castShadow || t.receiveShadow) && s.value.traverse((n) => {
17670
+ n instanceof Ae && (n.castShadow = t.castShadow, n.receiveShadow = t.receiveShadow);
17671
17671
  });
17672
- }), (i, n) => (me(), ve("primitive", ft({ object: k(s) }, i.$attrs), null, 16, CA));
17672
+ }), (n, r) => !k(i) && k(s) ? (me(), ve("primitive", ft({
17673
+ key: 0,
17674
+ object: k(s)
17675
+ }, n.$attrs), null, 16, CA)) : ls("", !0);
17673
17676
  }
17674
17677
  });
17675
17678
  function NA(a, e) {
@@ -17714,7 +17717,7 @@ const PA = ["object"], tz = /* @__PURE__ */ _e({
17714
17717
  }), (n, r) => !k(i) && k(s)?.scene ? (me(), ve("primitive", ft({
17715
17718
  key: 0,
17716
17719
  object: k(s)?.scene
17717
- }, n.$attrs), null, 16, PA)) : ms("", !0);
17720
+ }, n.$attrs), null, 16, PA)) : ls("", !0);
17718
17721
  }
17719
17722
  }), sz = /* @__PURE__ */ _e({
17720
17723
  __name: "component",
@@ -20354,7 +20357,7 @@ class AE {
20354
20357
  depthBuffer: !1,
20355
20358
  type: ci
20356
20359
  }), this.renderTargetB = this.renderTargetA.clone(), this.convolutionMaterial = new ME(), this.convolutionMaterial.setTexelSize(1 / t, 1 / s), this.convolutionMaterial.setResolution(new Pe(t, s)), this.scene = new Ml(), this.camera = new jT(), this.convolutionMaterial.uniforms.depthEdge0.value = i, this.convolutionMaterial.uniforms.depthEdge1.value = n, this.convolutionMaterial.uniforms.depthScale.value = r, this.convolutionMaterial.uniforms.depthBias.value = o, this.convolutionMaterial.defines.USE_DEPTH = r > 0;
20357
- const l = new Float32Array([-1, -1, 0, 3, -1, 0, -1, 3, 0]), c = new Float32Array([0, 0, 2, 0, 0, 2]), u = new ps();
20360
+ const l = new Float32Array([-1, -1, 0, 3, -1, 0, -1, 3, 0]), c = new Float32Array([0, 0, 2, 0, 0, 2]), u = new ms();
20358
20361
  u.setAttribute("position", new Qt(l, 3)), u.setAttribute("uv", new Qt(c, 2)), this.screen = new Ae(u, this.convolutionMaterial), this.screen.frustumCulled = !1, this.scene.add(this.screen);
20359
20362
  }
20360
20363
  render(e, t, s) {
@@ -20579,7 +20582,7 @@ class EE extends Gl {
20579
20582
  * Copyright 2010-2025 Three.js Authors
20580
20583
  * SPDX-License-Identifier: MIT
20581
20584
  */
20582
- const vh = "180", RE = 0, CE = 1, NE = 2, PE = 0, IE = 1, hu = 3, dr = 0, Ms = 1, Qr = 2, fa = 0, Nn = 1, Au = 2, Eu = 3, Ru = 4, fl = 5, Ri = 100, Nx = 101, Px = 102, BE = 103, FE = 104, sr = 200, Ix = 201, Bx = 202, Fx = 203, Cu = 204, Nu = 205, Dx = 206, Lx = 207, Ox = 208, Ux = 209, kx = 210, zx = 0, Gx = 1, Vx = 2, Pu = 3, Hx = 4, $x = 5, Wx = 6, jx = 7, _h = 0, DE = 1, LE = 2, ta = 0, OE = 1, UE = 2, kE = 3, zE = 4, GE = 6, VE = 7, Qp = 300, Nl = 301, Iu = 302, Jp = 303, em = 304, ip = 306, pa = 1e3, cr = 1001, ma = 1002, Zt = 1003, qx = 1004, Pl = 1005, ti = 1006, np = 1007, Pn = 1008, gs = 1009, sa = 1010, ia = 1011, Kr = 1012, ds = 1013, zt = 1014, Ds = 1015, Ks = 1016, Xx = 1017, Yx = 1018, fr = 1020, tm = 35902, sm = 35899, Kx = 1021, Th = 1022, Zs = 1023, Qi = 1026, In = 1027, bh = 1028, wh = 1029, ur = 1030, Sh = 1031, HE = 1032, Mh = 1033, pl = 33776, ml = 33777, gl = 33778, yl = 33779, rp = 35840, op = 35841, ap = 35842, lp = 35843, Bu = 36196, Fu = 37492, Du = 37496, Lu = 37808, Ou = 37809, Uu = 37810, ku = 37811, zu = 37812, Gu = 37813, Vu = 37814, Hu = 37815, $u = 37816, Wu = 37817, ju = 37818, qu = 37819, Xu = 37820, Yu = 37821, Ku = 36492, $E = 36494, WE = 36495, Zu = 36283, Qu = 36284, Ju = 36285, eh = 36286, mr = 0, jE = 1, gr = "", js = "srgb", cp = "srgb-linear", th = "linear", ze = "srgb", qE = 0, zr = 7680, XE = 7681, YE = 7682, KE = 7683, ZE = 34055, QE = 34056, JE = 5386, eR = 512, tR = 513, sR = 514, iR = 515, nR = 516, rR = 517, oR = 518, up = 519, Zx = 512, im = 513, Qx = 514, Jx = 515, ev = 516, tv = 517, sv = 518, iv = 519, sh = 35044, jo = 35048, Qs = 2e3, yr = 2001, qo = {
20585
+ const vh = "180", RE = 0, CE = 1, NE = 2, PE = 0, IE = 1, hu = 3, dr = 0, Ms = 1, Qr = 2, fa = 0, Nn = 1, Au = 2, Eu = 3, Ru = 4, fl = 5, Ri = 100, Nx = 101, Px = 102, BE = 103, FE = 104, sr = 200, Ix = 201, Bx = 202, Fx = 203, Cu = 204, Nu = 205, Dx = 206, Lx = 207, Ox = 208, Ux = 209, kx = 210, zx = 0, Gx = 1, Vx = 2, Pu = 3, Hx = 4, $x = 5, Wx = 6, jx = 7, _h = 0, DE = 1, LE = 2, ta = 0, OE = 1, UE = 2, kE = 3, zE = 4, GE = 6, VE = 7, Qp = 300, Nl = 301, Iu = 302, Jp = 303, em = 304, ip = 306, pa = 1e3, cr = 1001, ma = 1002, Zt = 1003, qx = 1004, Pl = 1005, ti = 1006, np = 1007, Pn = 1008, gs = 1009, sa = 1010, ia = 1011, Kr = 1012, fs = 1013, zt = 1014, Ds = 1015, Ks = 1016, Xx = 1017, Yx = 1018, fr = 1020, tm = 35902, sm = 35899, Kx = 1021, Th = 1022, Zs = 1023, Qi = 1026, In = 1027, bh = 1028, wh = 1029, ur = 1030, Sh = 1031, HE = 1032, Mh = 1033, pl = 33776, ml = 33777, gl = 33778, yl = 33779, rp = 35840, op = 35841, ap = 35842, lp = 35843, Bu = 36196, Fu = 37492, Du = 37496, Lu = 37808, Ou = 37809, Uu = 37810, ku = 37811, zu = 37812, Gu = 37813, Vu = 37814, Hu = 37815, $u = 37816, Wu = 37817, ju = 37818, qu = 37819, Xu = 37820, Yu = 37821, Ku = 36492, $E = 36494, WE = 36495, Zu = 36283, Qu = 36284, Ju = 36285, eh = 36286, mr = 0, jE = 1, gr = "", js = "srgb", cp = "srgb-linear", th = "linear", ze = "srgb", qE = 0, zr = 7680, XE = 7681, YE = 7682, KE = 7683, ZE = 34055, QE = 34056, JE = 5386, eR = 512, tR = 513, sR = 514, iR = 515, nR = 516, rR = 517, oR = 518, up = 519, Zx = 512, im = 513, Qx = 514, Jx = 515, ev = 516, tv = 517, sv = 518, iv = 519, sh = 35044, jo = 35048, Qs = 2e3, yr = 2001, qo = {
20583
20586
  COMPUTE: "compute",
20584
20587
  RENDER: "render"
20585
20588
  };
@@ -20639,12 +20642,12 @@ class co {
20639
20642
  }
20640
20643
  }
20641
20644
  }
20642
- const cs = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", "1e", "1f", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2a", "2b", "2c", "2d", "2e", "2f", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "3a", "3b", "3c", "3d", "3e", "3f", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "4a", "4b", "4c", "4d", "4e", "4f", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "5a", "5b", "5c", "5d", "5e", "5f", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "6a", "6b", "6c", "6d", "6e", "6f", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "7a", "7b", "7c", "7d", "7e", "7f", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "8a", "8b", "8c", "8d", "8e", "8f", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9a", "9b", "9c", "9d", "9e", "9f", "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9", "aa", "ab", "ac", "ad", "ae", "af", "b0", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "ba", "bb", "bc", "bd", "be", "bf", "c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", "ca", "cb", "cc", "cd", "ce", "cf", "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "da", "db", "dc", "dd", "de", "df", "e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8", "e9", "ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb", "fc", "fd", "fe", "ff"];
20645
+ const us = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", "1e", "1f", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2a", "2b", "2c", "2d", "2e", "2f", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "3a", "3b", "3c", "3d", "3e", "3f", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "4a", "4b", "4c", "4d", "4e", "4f", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "5a", "5b", "5c", "5d", "5e", "5f", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "6a", "6b", "6c", "6d", "6e", "6f", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "7a", "7b", "7c", "7d", "7e", "7f", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "8a", "8b", "8c", "8d", "8e", "8f", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9a", "9b", "9c", "9d", "9e", "9f", "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9", "aa", "ab", "ac", "ad", "ae", "af", "b0", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "ba", "bb", "bc", "bd", "be", "bf", "c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", "ca", "cb", "cc", "cd", "ce", "cf", "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "da", "db", "dc", "dd", "de", "df", "e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8", "e9", "ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb", "fc", "fd", "fe", "ff"];
20643
20646
  let yy = 1234567;
20644
20647
  const xl = Math.PI / 180, ga = 180 / Math.PI;
20645
20648
  function Bn() {
20646
20649
  const a = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, s = Math.random() * 4294967295 | 0;
20647
- return (cs[a & 255] + cs[a >> 8 & 255] + cs[a >> 16 & 255] + cs[a >> 24 & 255] + "-" + cs[e & 255] + cs[e >> 8 & 255] + "-" + cs[e >> 16 & 15 | 64] + cs[e >> 24 & 255] + "-" + cs[t & 63 | 128] + cs[t >> 8 & 255] + "-" + cs[t >> 16 & 255] + cs[t >> 24 & 255] + cs[s & 255] + cs[s >> 8 & 255] + cs[s >> 16 & 255] + cs[s >> 24 & 255]).toLowerCase();
20650
+ return (us[a & 255] + us[a >> 8 & 255] + us[a >> 16 & 255] + us[a >> 24 & 255] + "-" + us[e & 255] + us[e >> 8 & 255] + "-" + us[e >> 16 & 15 | 64] + us[e >> 24 & 255] + "-" + us[t & 63 | 128] + us[t >> 8 & 255] + "-" + us[t >> 16 & 255] + us[t >> 24 & 255] + us[s & 255] + us[s >> 8 & 255] + us[s >> 16 & 255] + us[s >> 24 & 255]).toLowerCase();
20648
20651
  }
20649
20652
  function Je(a, e, t) {
20650
20653
  return Math.max(e, Math.min(t, a));
@@ -27528,7 +27531,7 @@ class pt {
27528
27531
  * @return {number} The hexadecimal value.
27529
27532
  */
27530
27533
  getHex(e = js) {
27531
- return yt.workingToColorSpace(us.copy(this), e), Math.round(Je(us.r * 255, 0, 255)) * 65536 + Math.round(Je(us.g * 255, 0, 255)) * 256 + Math.round(Je(us.b * 255, 0, 255));
27534
+ return yt.workingToColorSpace(hs.copy(this), e), Math.round(Je(hs.r * 255, 0, 255)) * 65536 + Math.round(Je(hs.g * 255, 0, 255)) * 256 + Math.round(Je(hs.b * 255, 0, 255));
27532
27535
  }
27533
27536
  /**
27534
27537
  * Returns the hexadecimal value of this color as a string (for example, 'FFFFFF').
@@ -27548,8 +27551,8 @@ class pt {
27548
27551
  * @return {{h:number,s:number,l:number}} The HSL representation of this color.
27549
27552
  */
27550
27553
  getHSL(e, t = yt.workingColorSpace) {
27551
- yt.workingToColorSpace(us.copy(this), t);
27552
- const s = us.r, i = us.g, n = us.b, r = Math.max(s, i, n), o = Math.min(s, i, n);
27554
+ yt.workingToColorSpace(hs.copy(this), t);
27555
+ const s = hs.r, i = hs.g, n = hs.b, r = Math.max(s, i, n), o = Math.min(s, i, n);
27553
27556
  let l, c;
27554
27557
  const u = (o + r) / 2;
27555
27558
  if (o === r)
@@ -27579,7 +27582,7 @@ class pt {
27579
27582
  * @return {Color} The RGB representation of this color.
27580
27583
  */
27581
27584
  getRGB(e, t = yt.workingColorSpace) {
27582
- return yt.workingToColorSpace(us.copy(this), t), e.r = us.r, e.g = us.g, e.b = us.b, e;
27585
+ return yt.workingToColorSpace(hs.copy(this), t), e.r = hs.r, e.g = hs.g, e.b = hs.b, e;
27583
27586
  }
27584
27587
  /**
27585
27588
  * Returns the value of this color as a CSS style string. Example: `rgb(255,0,0)`.
@@ -27588,8 +27591,8 @@ class pt {
27588
27591
  * @return {string} The CSS representation of this color.
27589
27592
  */
27590
27593
  getStyle(e = js) {
27591
- yt.workingToColorSpace(us.copy(this), e);
27592
- const t = us.r, s = us.g, i = us.b;
27594
+ yt.workingToColorSpace(hs.copy(this), e);
27595
+ const t = hs.r, s = hs.g, i = hs.b;
27593
27596
  return e !== js ? `color(${e} ${t.toFixed(3)} ${s.toFixed(3)} ${i.toFixed(3)})` : `rgb(${Math.round(t * 255)},${Math.round(s * 255)},${Math.round(i * 255)})`;
27594
27597
  }
27595
27598
  /**
@@ -27773,7 +27776,7 @@ class pt {
27773
27776
  yield this.r, yield this.g, yield this.b;
27774
27777
  }
27775
27778
  }
27776
- const us = /* @__PURE__ */ new pt();
27779
+ const hs = /* @__PURE__ */ new pt();
27777
27780
  pt.NAMES = rv;
27778
27781
  let zR = 0;
27779
27782
  class Us extends co {
@@ -32010,7 +32013,7 @@ function EC(a) {
32010
32013
  case Yx:
32011
32014
  return { byteLength: 2, components: 4 };
32012
32015
  case zt:
32013
- case ds:
32016
+ case fs:
32014
32017
  case Ds:
32015
32018
  return { byteLength: 4, components: 1 };
32016
32019
  case tm:
@@ -35296,7 +35299,7 @@ class Ea extends Xl {
35296
35299
  * @return {string} The node type.
35297
35300
  */
35298
35301
  getNodeType() {
35299
- return this.value.isDepthTexture === !0 ? "float" : this.value.type === zt ? "uvec4" : this.value.type === ds ? "ivec4" : "vec4";
35302
+ return this.value.isDepthTexture === !0 ? "float" : this.value.type === zt ? "uvec4" : this.value.type === fs ? "ivec4" : "vec4";
35300
35303
  }
35301
35304
  /**
35302
35305
  * Overwrites the default implementation to return a fixed value `'texture'`.
@@ -35983,7 +35986,7 @@ yi.RADIUS;
35983
35986
  const pP = /* @__PURE__ */ Ue(new zs()).onObjectUpdate(({ object: a }, e) => e.value.getNormalMatrix(a.matrixWorld)), Fh = /* @__PURE__ */ he((a) => a.renderer.overrideNodes.modelViewMatrix || mP).once()().toVar("modelViewMatrix"), mP = /* @__PURE__ */ Hn.mul(oo), Qy = /* @__PURE__ */ he((a) => (a.context.isHighPrecisionModelViewMatrix = !0, Ue("mat4").onObjectUpdate(({ object: e, camera: t }) => e.modelViewMatrix.multiplyMatrices(t.matrixWorldInverse, e.matrixWorld)))).once()().toVar("highpModelViewMatrix"), Jy = /* @__PURE__ */ he((a) => {
35984
35987
  const e = a.context.isHighPrecisionModelViewMatrix;
35985
35988
  return Ue("mat3").onObjectUpdate(({ object: t, camera: s }) => (e !== !0 && t.modelViewMatrix.multiplyMatrices(s.matrixWorldInverse, t.matrixWorld), t.normalMatrix.getNormalMatrix(t.modelViewMatrix)));
35986
- }).once()().toVar("highpModelNormalViewMatrix"), Dh = /* @__PURE__ */ vr("position", "vec3"), fs = /* @__PURE__ */ Dh.toVarying("positionLocal"), e0 = /* @__PURE__ */ Dh.toVarying("positionPrevious"), va = /* @__PURE__ */ he((a) => oo.mul(fs).xyz.toVarying(a.getSubBuildProperty("v_positionWorld")), "vec3").once(["POSITION"])(), Jv = /* @__PURE__ */ he(() => fs.transformDirection(oo).toVarying("v_positionWorldDirection").normalize().toVar("positionWorldDirection"), "vec3").once(["POSITION"])(), Ht = /* @__PURE__ */ he((a) => a.context.setupPositionView().toVarying("v_positionView"), "vec3").once(["POSITION"])(), Ut = /* @__PURE__ */ Ht.negate().toVarying("v_positionViewDirection").normalize().toVar("positionViewDirection");
35989
+ }).once()().toVar("highpModelNormalViewMatrix"), Dh = /* @__PURE__ */ vr("position", "vec3"), ps = /* @__PURE__ */ Dh.toVarying("positionLocal"), e0 = /* @__PURE__ */ Dh.toVarying("positionPrevious"), va = /* @__PURE__ */ he((a) => oo.mul(ps).xyz.toVarying(a.getSubBuildProperty("v_positionWorld")), "vec3").once(["POSITION"])(), Jv = /* @__PURE__ */ he(() => ps.transformDirection(oo).toVarying("v_positionWorldDirection").normalize().toVar("positionWorldDirection"), "vec3").once(["POSITION"])(), Ht = /* @__PURE__ */ he((a) => a.context.setupPositionView().toVarying("v_positionView"), "vec3").once(["POSITION"])(), Ut = /* @__PURE__ */ Ht.negate().toVarying("v_positionViewDirection").normalize().toVar("positionViewDirection");
35987
35990
  class gP extends Ie {
35988
35991
  static get type() {
35989
35992
  return "FrontFacingNode";
@@ -36618,8 +36621,8 @@ class bI extends Ie {
36618
36621
  const l = new eC(s.array, 3), c = s.usage === jo ? Ky : Yy;
36619
36622
  this.bufferColor = l, r = le(c(l, "vec3", 3, 0)), this.instanceColorNode = r;
36620
36623
  }
36621
- const o = n.mul(fs).xyz;
36622
- if (fs.assign(o), e.hasGeometryAttribute("normal")) {
36624
+ const o = n.mul(ps).xyz;
36625
+ if (ps.assign(o), e.hasGeometryAttribute("normal")) {
36623
36626
  const l = _P(rn, n);
36624
36627
  rn.assign(l);
36625
36628
  }
@@ -36699,7 +36702,7 @@ class MI extends Ie {
36699
36702
  ah("vec3", "vBatchColor").assign(m);
36700
36703
  }
36701
36704
  const h = Es(c);
36702
- fs.assign(c.mul(fs));
36705
+ ps.assign(c.mul(ps));
36703
36706
  const f = rn.div(le(h[0].dot(h[0]), h[1].dot(h[1]), h[2].dot(h[2]))), d = h.mul(f).xyz;
36704
36707
  rn.assign(d), e.hasGeometryAttribute("tangent") && zm.mulAssign(h);
36705
36708
  }
@@ -36715,7 +36718,7 @@ class EI extends Ie {
36715
36718
  * @param {SkinnedMesh} skinnedMesh - The skinned mesh.
36716
36719
  */
36717
36720
  constructor(e) {
36718
- super("void"), this.skinnedMesh = e, this.updateType = Xe.OBJECT, this.skinIndexNode = vr("skinIndex", "uvec4"), this.skinWeightNode = vr("skinWeight", "vec4"), this.bindMatrixNode = At("bindMatrix", "mat4"), this.bindMatrixInverseNode = At("bindMatrixInverse", "mat4"), this.boneMatricesNode = s0("skeleton.boneMatrices", "mat4", e.skeleton.bones.length), this.positionNode = fs, this.toPositionNode = fs, this.previousBoneMatricesNode = null;
36721
+ super("void"), this.skinnedMesh = e, this.updateType = Xe.OBJECT, this.skinIndexNode = vr("skinIndex", "uvec4"), this.skinWeightNode = vr("skinWeight", "vec4"), this.bindMatrixNode = At("bindMatrix", "mat4"), this.bindMatrixInverseNode = At("bindMatrixInverse", "mat4"), this.boneMatricesNode = s0("skeleton.boneMatrices", "mat4", e.skeleton.bones.length), this.positionNode = ps, this.toPositionNode = ps, this.previousBoneMatricesNode = null;
36719
36722
  }
36720
36723
  /**
36721
36724
  * Transforms the given vertex position via skinning.
@@ -36965,12 +36968,12 @@ class II extends Ie {
36965
36968
  */
36966
36969
  setup(e) {
36967
36970
  const { geometry: t } = e, s = t.morphAttributes.position !== void 0, i = t.hasAttribute("normal") && t.morphAttributes.normal !== void 0, n = t.morphAttributes.position || t.morphAttributes.normal || t.morphAttributes.color, r = n !== void 0 ? n.length : 0, { texture: o, stride: l, size: c } = PI(t);
36968
- s === !0 && fs.mulAssign(this.morphBaseInfluence), i === !0 && rn.mulAssign(this.morphBaseInfluence);
36971
+ s === !0 && ps.mulAssign(this.morphBaseInfluence), i === !0 && rn.mulAssign(this.morphBaseInfluence);
36969
36972
  const u = Nt(c.width);
36970
36973
  Pi(r, ({ i: h }) => {
36971
36974
  const f = ae(0).toVar();
36972
36975
  this.mesh.count > 1 && this.mesh.morphTexture !== null && this.mesh.morphTexture !== void 0 ? f.assign(Mi(this.mesh.morphTexture, Tn(Nt(h).add(1), Nt(Gm))).r) : f.assign(At("morphTargetInfluences", "float").element(h).toVar()), Gt(f.notEqual(0), () => {
36973
- s === !0 && fs.addAssign(l0({
36976
+ s === !0 && ps.addAssign(l0({
36974
36977
  bufferMap: o,
36975
36978
  influence: f,
36976
36979
  stride: l,
@@ -37504,7 +37507,7 @@ class jt extends Us {
37504
37507
  * @return {Node<vec3>} The position in view space.
37505
37508
  */
37506
37509
  setupPositionView() {
37507
- return Fh.mul(fs).xyz;
37510
+ return Fh.mul(ps).xyz;
37508
37511
  }
37509
37512
  /**
37510
37513
  * Setups the position in clip space.
@@ -37534,9 +37537,9 @@ class jt extends Us {
37534
37537
  const { object: t, geometry: s } = e;
37535
37538
  if ((s.morphAttributes.position || s.morphAttributes.normal || s.morphAttributes.color) && BI(t).toStack(), t.isSkinnedMesh === !0 && RI(t).toStack(), this.displacementMap) {
37536
37539
  const i = or("displacementMap", "texture"), n = or("displacementScale", "float"), r = or("displacementBias", "float");
37537
- fs.addAssign(rn.normalize().mul(i.x.mul(n).add(r)));
37540
+ ps.addAssign(rn.normalize().mul(i.x.mul(n).add(r)));
37538
37541
  }
37539
- return t.isBatchedMesh && AI(t).toStack(), t.isInstancedMesh && t.instanceMatrix && t.instanceMatrix.isInstancedBufferAttribute === !0 && SI(t).toStack(), this.positionNode !== null && fs.assign(bl(this.positionNode, "POSITION", "vec3")), fs;
37542
+ return t.isBatchedMesh && AI(t).toStack(), t.isInstancedMesh && t.instanceMatrix && t.instanceMatrix.isInstancedBufferAttribute === !0 && SI(t).toStack(), this.positionNode !== null && ps.assign(bl(this.positionNode, "POSITION", "vec3")), ps;
37540
37543
  }
37541
37544
  /**
37542
37545
  * Setups the computation of the material's diffuse color.
@@ -37551,7 +37554,7 @@ class jt extends Us {
37551
37554
  const i = this.opacityNode ? ae(this.opacityNode) : f_;
37552
37555
  dt.a.assign(dt.a.mul(i));
37553
37556
  let n = null;
37554
- (this.alphaTestNode !== null || this.alphaTest > 0) && (n = this.alphaTestNode !== null ? ae(this.alphaTestNode) : HP, dt.a.lessThanEqual(n).discard()), this.alphaHash === !0 && dt.a.lessThan(jI(fs)).discard(), this.transparent === !1 && this.blending === Nn && this.alphaToCoverage === !1 ? dt.a.assign(1) : n === null && dt.a.lessThanEqual(0).discard();
37557
+ (this.alphaTestNode !== null || this.alphaTest > 0) && (n = this.alphaTestNode !== null ? ae(this.alphaTestNode) : HP, dt.a.lessThanEqual(n).discard()), this.alphaHash === !0 && dt.a.lessThan(jI(ps)).discard(), this.transparent === !1 && this.blending === Nn && this.alphaToCoverage === !1 ? dt.a.assign(1) : n === null && dt.a.lessThanEqual(0).discard();
37555
37558
  }
37556
37559
  /**
37557
37560
  * Abstract interface method that can be implemented by derived materials
@@ -39645,7 +39648,7 @@ class vF extends U_ {
39645
39648
  }
39646
39649
  setupPositionView() {
39647
39650
  const { positionNode: e } = this;
39648
- return Fh.mul(le(e || fs)).xyz;
39651
+ return Fh.mul(le(e || ps)).xyz;
39649
39652
  }
39650
39653
  setupVertexSprite(e) {
39651
39654
  const { material: t, camera: s } = e, { rotationNode: i, scaleNode: n, sizeNode: r, sizeAttenuation: o } = this;
@@ -44137,7 +44140,7 @@ class Z_ {
44137
44140
  getComponentTypeFromTexture(e) {
44138
44141
  const t = e.type;
44139
44142
  if (e.isDataTexture) {
44140
- if (t === ds) return "int";
44143
+ if (t === fs) return "int";
44141
44144
  if (t === zt) return "uint";
44142
44145
  }
44143
44146
  return "float";
@@ -48313,7 +48316,7 @@ ${s.code}
48313
48316
  Uint32Array: zt,
48314
48317
  Int8Array: sa,
48315
48318
  Int16Array: ia,
48316
- Int32Array: ds,
48319
+ Int32Array: fs,
48317
48320
  Uint8ClampedArray: gs
48318
48321
  }, c = Math.pow(2, Math.ceil(Math.log2(Math.sqrt(i / n))));
48319
48322
  let u = Math.ceil(i / n / c);
@@ -48361,7 +48364,7 @@ ${s.code}
48361
48364
  f === void 0 && (f = c + "Size", this.getVarFromNode(t, f, "uint"), this.addLineFlowCode(`${f} = uint( textureSize( ${r}, 0 ).x )`, e), h.propertySizeName = f);
48362
48365
  const { itemSize: d } = i, p = "." + Aa.join("").slice(0, d), m = `ivec2(${o} % ${f}, ${o} / ${f})`, g = this.generateTextureLoad(null, r, m, null, null, "0");
48363
48366
  let y = "vec4";
48364
- i.pbo.type === zt ? y = "uvec4" : i.pbo.type === ds && (y = "ivec4"), this.addLineFlowCode(`${c} = ${y}(${g})${p}`, e), l.propertyName = c;
48367
+ i.pbo.type === zt ? y = "uvec4" : i.pbo.type === fs && (y = "ivec4"), this.addLineFlowCode(`${c} = ${y}(${g})${p}`, e), l.propertyName = c;
48365
48368
  }
48366
48369
  return c;
48367
48370
  }
@@ -48477,7 +48480,7 @@ ${s.code}
48477
48480
  if (r.type === "texture" || r.type === "texture3D") {
48478
48481
  const u = r.node.value;
48479
48482
  let h = "";
48480
- (u.isDataTexture === !0 || u.isData3DTexture === !0) && (u.type === zt ? h = "u" : u.type === ds && (h = "i")), r.type === "texture3D" && u.isArrayTexture === !1 ? o = `${h}sampler3D ${r.name};` : u.compareFunction ? u.isArrayTexture === !0 ? o = `sampler2DArrayShadow ${r.name};` : o = `sampler2DShadow ${r.name};` : u.isArrayTexture === !0 || u.isDataArrayTexture === !0 || u.isCompressedArrayTexture === !0 ? o = `${h}sampler2DArray ${r.name};` : o = `${h}sampler2D ${r.name};`;
48483
+ (u.isDataTexture === !0 || u.isData3DTexture === !0) && (u.type === zt ? h = "u" : u.type === fs && (h = "i")), r.type === "texture3D" && u.isArrayTexture === !1 ? o = `${h}sampler3D ${r.name};` : u.compareFunction ? u.isArrayTexture === !0 ? o = `sampler2DArrayShadow ${r.name};` : o = `sampler2DShadow ${r.name};` : u.isArrayTexture === !0 || u.isDataArrayTexture === !0 || u.isCompressedArrayTexture === !0 ? o = `${h}sampler2DArray ${r.name};` : o = `${h}sampler2D ${r.name};`;
48481
48484
  } else if (r.type === "cubeTexture")
48482
48485
  o = `samplerCube ${r.name};`;
48483
48486
  else if (r.type === "buffer") {
@@ -48514,7 +48517,7 @@ ${s.code}
48514
48517
  */
48515
48518
  getTypeFromAttribute(e) {
48516
48519
  let t = super.getTypeFromAttribute(e);
48517
- if (/^[iu]/.test(t) && e.gpuType !== ds) {
48520
+ if (/^[iu]/.test(t) && e.gpuType !== fs) {
48518
48521
  let s = e;
48519
48522
  e.isInterleavedBufferAttribute && (s = e.data);
48520
48523
  const i = s.array;
@@ -49561,7 +49564,7 @@ class u3 {
49561
49564
  bytesPerElement: n.BYTES_PER_ELEMENT,
49562
49565
  version: e.version,
49563
49566
  pbo: e.pbo,
49564
- isInteger: u === i.INT || u === i.UNSIGNED_INT || e.gpuType === ds,
49567
+ isInteger: u === i.INT || u === i.UNSIGNED_INT || e.gpuType === fs,
49565
49568
  id: l3++
49566
49569
  };
49567
49570
  if (e.isStorageBufferAttribute || e.isStorageInstancedBufferAttribute) {
@@ -50152,7 +50155,7 @@ class d3 {
50152
50155
  if (e === sa) return s.BYTE;
50153
50156
  if (e === ia) return s.SHORT;
50154
50157
  if (e === Kr) return s.UNSIGNED_SHORT;
50155
- if (e === ds) return s.INT;
50158
+ if (e === fs) return s.INT;
50156
50159
  if (e === zt) return s.UNSIGNED_INT;
50157
50160
  if (e === Ds) return s.FLOAT;
50158
50161
  if (e === Ks)
@@ -53184,7 +53187,7 @@ function Rp(a, e = null) {
53184
53187
  case zt:
53185
53188
  r = U.RGBA32Uint;
53186
53189
  break;
53187
- case ds:
53190
+ case fs:
53188
53191
  r = U.RGBA32Sint;
53189
53192
  break;
53190
53193
  case gs:
@@ -53226,7 +53229,7 @@ function Rp(a, e = null) {
53226
53229
  case zt:
53227
53230
  r = U.R32Uint;
53228
53231
  break;
53229
- case ds:
53232
+ case fs:
53230
53233
  r = U.R32Sint;
53231
53234
  break;
53232
53235
  case gs:
@@ -53256,7 +53259,7 @@ function Rp(a, e = null) {
53256
53259
  case zt:
53257
53260
  r = U.RG32Uint;
53258
53261
  break;
53259
- case ds:
53262
+ case fs:
53260
53263
  r = U.RG32Sint;
53261
53264
  break;
53262
53265
  case gs:
@@ -53301,7 +53304,7 @@ function Rp(a, e = null) {
53301
53304
  break;
53302
53305
  case wh:
53303
53306
  switch (s) {
53304
- case ds:
53307
+ case fs:
53305
53308
  r = U.R32Sint;
53306
53309
  break;
53307
53310
  case zt:
@@ -53313,7 +53316,7 @@ function Rp(a, e = null) {
53313
53316
  break;
53314
53317
  case Sh:
53315
53318
  switch (s) {
53316
- case ds:
53319
+ case fs:
53317
53320
  r = U.RG32Sint;
53318
53321
  break;
53319
53322
  case zt:
@@ -53325,7 +53328,7 @@ function Rp(a, e = null) {
53325
53328
  break;
53326
53329
  case Mh:
53327
53330
  switch (s) {
53328
- case ds:
53331
+ case fs:
53329
53332
  r = U.RGBA32Sint;
53330
53333
  break;
53331
53334
  case zt:
@@ -54988,7 +54991,7 @@ class G3 {
54988
54991
  t.compatibilityMode && r.texture.compareFunction === null ? l.sampleType = Ur.UnfilterableFloat : l.sampleType = Ur.Depth;
54989
54992
  else if (r.texture.isDataTexture || r.texture.isDataArrayTexture || r.texture.isData3DTexture) {
54990
54993
  const u = r.texture.type;
54991
- u === ds ? l.sampleType = Ur.SInt : u === zt ? l.sampleType = Ur.UInt : u === Ds && (this.backend.hasFeature("float32-filterable") ? l.sampleType = Ur.Float : l.sampleType = Ur.UnfilterableFloat);
54994
+ u === fs ? l.sampleType = Ur.SInt : u === zt ? l.sampleType = Ur.UInt : u === Ds && (this.backend.hasFeature("float32-filterable") ? l.sampleType = Ur.Float : l.sampleType = Ur.UnfilterableFloat);
54992
54995
  }
54993
54996
  r.isSampledCubeTexture ? l.viewDimension = Wt.Cube : r.texture.isArrayTexture || r.texture.isDataArrayTexture || r.texture.isCompressedArrayTexture ? l.viewDimension = Wt.TwoDArray : r.isSampledTexture3D && (l.viewDimension = Wt.ThreeD), o.texture = l;
54994
54997
  } else if (r.isSampler) {
@@ -56851,10 +56854,10 @@ const Y3 = ["texture-matrix", "t-sharp", "t-depth", "t-blur", "defines-USE_BLUR"
56851
56854
  cameraWorldPosition: new V(),
56852
56855
  rotationMatrix: new Qe(),
56853
56856
  lookAtPosition: new V(0, 0, -1),
56854
- clipPlane: new ls(),
56857
+ clipPlane: new cs(),
56855
56858
  view: new V(),
56856
56859
  target: new V(),
56857
- q: new ls(),
56860
+ q: new cs(),
56858
56861
  virtualCamera: new fi(),
56859
56862
  textureMatrix: new Qe()
56860
56863
  }, p = new ui(
@@ -57358,7 +57361,7 @@ const oO = /* @__PURE__ */ ((a) => (e) => hT(e, a))([1, -1, 1, 1, 1, -1, 1, 1, 1
57358
57361
  ref: l,
57359
57362
  geometry: k(c),
57360
57363
  material: W.value
57361
- }, null, 8, lO)) : ms("", !0)
57364
+ }, null, 8, lO)) : ls("", !0)
57362
57365
  ], 512));
57363
57366
  }
57364
57367
  });
@@ -58174,7 +58177,7 @@ const xO = ["args"], vO = ["color"], Tz = /* @__PURE__ */ _e({
58174
58177
  setup(a, { expose: e }) {
58175
58178
  const t = a, { invalidate: s } = ke(), { cos: i, sin: n, abs: r } = Math, o = de(), l = de(t.color);
58176
58179
  function c(d, p) {
58177
- const m = new ps(), g = d * p, y = new Float32Array(Array.from({ length: 3 * g }).fill(0)), x = new Float32Array(Array.from({ length: 3 * g }).fill(0)), v = [];
58180
+ const m = new ms(), g = d * p, y = new Float32Array(Array.from({ length: 3 * g }).fill(0)), x = new Float32Array(Array.from({ length: 3 * g }).fill(0)), v = [];
58178
58181
  for (let w = 0; w < p - 1; w++) {
58179
58182
  for (let T = 0; T < d - 1; T++) {
58180
58183
  const S = w * d + T, E = S + 1, C = S + d, B = E + d;
@@ -60168,7 +60171,7 @@ const qU = ["object"], Kz = /* @__PURE__ */ _e({
60168
60171
  position: d.value,
60169
60172
  intensity: a.intensity
60170
60173
  }, null, 8, ZU)
60171
- ])) : ms("", !0),
60174
+ ])) : ls("", !0),
60172
60175
  An(k(yU), ft({
60173
60176
  ref_key: "boundsRef",
60174
60177
  ref: o,
@@ -60198,7 +60201,7 @@ const qU = ["object"], Kz = /* @__PURE__ */ _e({
60198
60201
  scale: i.value * 4,
60199
60202
  far: i.value,
60200
60203
  blur: 2
60201
- }, p.value), null, 16, ["scale", "far"])) : ms("", !0),
60204
+ }, p.value), null, 16, ["scale", "far"])) : ls("", !0),
60202
60205
  m.value ? (me(), En(k(lU), ft({
60203
60206
  key: 1,
60204
60207
  ref_key: "accumulativeShadowsRef",
@@ -60221,10 +60224,10 @@ const qU = ["object"], Kz = /* @__PURE__ */ _e({
60221
60224
  }, m.value), null, 16, ["position", "count", "radius", "intensity", "ambient", "size", "bias", "map-size"])
60222
60225
  ]),
60223
60226
  _: 1
60224
- }, 16, ["scale"])) : ms("", !0),
60227
+ }, 16, ["scale"])) : ls("", !0),
60225
60228
  (me(), En(rb, null, {
60226
60229
  default: ac(() => [
60227
- g.value ? (me(), En(k(tk), ob(ft({ key: 0 }, g.value)), null, 16)) : ms("", !0)
60230
+ g.value ? (me(), En(k(tk), ob(ft({ key: 0 }, g.value)), null, 16)) : ls("", !0)
60228
60231
  ]),
60229
60232
  _: 1
60230
60233
  }))
@@ -60366,7 +60369,7 @@ const tk = /* @__PURE__ */ _e({
60366
60369
  ref: f
60367
60370
  }, [
60368
60371
  Ze(y.$slots, "default")
60369
- ], 512)) : ms("", !0);
60372
+ ], 512)) : ls("", !0);
60370
60373
  }
60371
60374
  }), sk = {
60372
60375
  key: 0,
@@ -60427,7 +60430,7 @@ export {
60427
60430
  uk as AnimatedSprite,
60428
60431
  Gz as Backdrop,
60429
60432
  pz as BakeShadows,
60430
- hs as BaseCameraControls,
60433
+ ds as BaseCameraControls,
60431
60434
  dk as Billboard,
60432
60435
  yU as Bounds,
60433
60436
  Tz as Box,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tresjs/cientos",
3
3
  "type": "module",
4
- "version": "5.0.2",
4
+ "version": "5.1.0",
5
5
  "description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
6
6
  "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
7
7
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "access": "public"
46
46
  },
47
47
  "peerDependencies": {
48
- "@tresjs/core": "5.0.3",
48
+ "@tresjs/core": "5.1.0",
49
49
  "three": ">=0.133",
50
50
  "vue": ">=3.5.17"
51
51
  },
@@ -78,8 +78,8 @@
78
78
  "vite-plugin-glsl": "^1.5.1",
79
79
  "vite-svg-loader": "^5.1.0",
80
80
  "vue-tsc": "^3.0.7",
81
- "@tresjs/eslint-config": "1.4.1",
82
- "@tresjs/core": "5.0.3"
81
+ "@tresjs/core": "5.1.0",
82
+ "@tresjs/eslint-config": "1.5.0"
83
83
  },
84
84
  "nx": {
85
85
  "implicitDependencies": [