three-stdlib 2.35.8 → 2.35.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. package/controls/ArcballControls.d.cts +1 -1
  2. package/controls/ArcballControls.d.ts +1 -1
  3. package/controls/DeviceOrientationControls.d.cts +1 -1
  4. package/controls/DeviceOrientationControls.d.ts +1 -1
  5. package/controls/DragControls.d.cts +1 -1
  6. package/controls/DragControls.d.ts +1 -1
  7. package/controls/FlyControls.d.cts +1 -1
  8. package/controls/FlyControls.d.ts +1 -1
  9. package/controls/OrbitControls.d.cts +1 -1
  10. package/controls/OrbitControls.d.ts +1 -1
  11. package/controls/PointerLockControls.d.cts +1 -1
  12. package/controls/PointerLockControls.d.ts +1 -1
  13. package/controls/TrackballControls.d.cts +1 -1
  14. package/controls/TrackballControls.d.ts +1 -1
  15. package/controls/TransformControls.d.cts +1 -1
  16. package/controls/TransformControls.d.ts +1 -1
  17. package/controls/experimental/CameraControls.d.cts +1 -1
  18. package/controls/experimental/CameraControls.d.ts +1 -1
  19. package/csm/CSMFrustum.d.cts +1 -1
  20. package/csm/CSMFrustum.d.ts +1 -1
  21. package/environments/RoomEnvironment.d.cts +1 -1
  22. package/environments/RoomEnvironment.d.ts +1 -1
  23. package/exporters/ColladaExporter.d.cts +1 -1
  24. package/exporters/ColladaExporter.d.ts +1 -1
  25. package/exporters/DRACOExporter.d.cts +1 -1
  26. package/exporters/DRACOExporter.d.ts +1 -1
  27. package/exporters/GLTFExporter.d.cts +3 -3
  28. package/exporters/GLTFExporter.d.ts +3 -3
  29. package/exporters/MMDExporter.d.cts +1 -1
  30. package/exporters/MMDExporter.d.ts +1 -1
  31. package/exporters/OBJExporter.d.cts +1 -1
  32. package/exporters/OBJExporter.d.ts +1 -1
  33. package/exporters/PLYExporter.d.cts +1 -1
  34. package/exporters/PLYExporter.d.ts +1 -1
  35. package/exporters/USDZExporter.d.cts +1 -1
  36. package/exporters/USDZExporter.d.ts +1 -1
  37. package/geometries/ParametricGeometries.d.cts +1 -1
  38. package/geometries/ParametricGeometries.d.ts +1 -1
  39. package/geometries/ParametricGeometry.d.cts +1 -1
  40. package/geometries/ParametricGeometry.d.ts +1 -1
  41. package/geometries/TextGeometry.d.cts +1 -1
  42. package/geometries/TextGeometry.d.ts +1 -1
  43. package/helpers/RaycasterHelper.d.cts +1 -1
  44. package/helpers/RaycasterHelper.d.ts +1 -1
  45. package/index.d.cts +262 -262
  46. package/index.d.ts +262 -262
  47. package/libs/MeshoptDecoder.d.cts +1 -1
  48. package/libs/MeshoptDecoder.d.ts +1 -1
  49. package/libs/MotionControllers.d.cts +1 -1
  50. package/libs/MotionControllers.d.ts +1 -1
  51. package/lights/LightProbeGenerator.d.cts +1 -1
  52. package/lights/LightProbeGenerator.d.ts +1 -1
  53. package/lights/RectAreaLightUniformsLib.d.cts +1 -1
  54. package/lights/RectAreaLightUniformsLib.d.ts +1 -1
  55. package/loaders/FontLoader.d.cts +1 -1
  56. package/loaders/FontLoader.d.ts +1 -1
  57. package/math/ColorConverter.d.cts +1 -1
  58. package/math/ColorConverter.d.ts +1 -1
  59. package/misc/Timer.d.cts +1 -1
  60. package/misc/Timer.d.ts +1 -1
  61. package/modifiers/EdgeSplitModifier.d.cts +1 -1
  62. package/modifiers/EdgeSplitModifier.d.ts +1 -1
  63. package/modifiers/SimplifyModifier.d.cts +1 -1
  64. package/modifiers/SimplifyModifier.d.ts +1 -1
  65. package/modifiers/TessellateModifier.d.cts +1 -1
  66. package/modifiers/TessellateModifier.d.ts +1 -1
  67. package/objects/BatchedMesh.d.cts +1 -1
  68. package/objects/BatchedMesh.d.ts +1 -1
  69. package/objects/ReflectorRTT.d.cts +1 -1
  70. package/objects/ReflectorRTT.d.ts +1 -1
  71. package/objects/Sky.d.cts +1 -1
  72. package/objects/Sky.d.ts +1 -1
  73. package/package.json +1 -1
  74. package/postprocessing/AfterimagePass.d.cts +1 -1
  75. package/postprocessing/AfterimagePass.d.ts +1 -1
  76. package/postprocessing/BloomPass.d.cts +1 -1
  77. package/postprocessing/BloomPass.d.ts +1 -1
  78. package/postprocessing/BokehPass.d.cts +1 -1
  79. package/postprocessing/BokehPass.d.ts +1 -1
  80. package/postprocessing/ClearPass.d.cts +1 -1
  81. package/postprocessing/ClearPass.d.ts +1 -1
  82. package/postprocessing/DotScreenPass.d.cts +1 -1
  83. package/postprocessing/DotScreenPass.d.ts +1 -1
  84. package/postprocessing/EffectComposer.d.cts +1 -1
  85. package/postprocessing/EffectComposer.d.ts +1 -1
  86. package/postprocessing/FilmPass.d.cts +1 -1
  87. package/postprocessing/FilmPass.d.ts +1 -1
  88. package/postprocessing/GlitchPass.d.cts +1 -1
  89. package/postprocessing/GlitchPass.d.ts +1 -1
  90. package/postprocessing/HalftonePass.d.cts +1 -1
  91. package/postprocessing/HalftonePass.d.ts +1 -1
  92. package/postprocessing/MaskPass.d.cts +1 -1
  93. package/postprocessing/MaskPass.d.ts +1 -1
  94. package/postprocessing/OutlinePass.d.cts +1 -1
  95. package/postprocessing/OutlinePass.d.ts +1 -1
  96. package/postprocessing/Pass.d.cts +1 -1
  97. package/postprocessing/Pass.d.ts +1 -1
  98. package/postprocessing/RenderPass.d.cts +1 -1
  99. package/postprocessing/RenderPass.d.ts +1 -1
  100. package/postprocessing/ShaderPass.d.cts +1 -1
  101. package/postprocessing/ShaderPass.d.ts +1 -1
  102. package/postprocessing/WaterPass.d.cts +1 -1
  103. package/postprocessing/WaterPass.d.ts +1 -1
  104. package/textures/FlakesTexture.d.cts +1 -1
  105. package/textures/FlakesTexture.d.ts +1 -1
  106. package/types/shared.d.cts +1 -1
  107. package/types/shared.d.ts +1 -1
  108. package/utils/GeometryCompressionUtils.d.cts +1 -1
  109. package/utils/GeometryCompressionUtils.d.ts +1 -1
  110. package/utils/LDrawUtils.d.cts +1 -1
  111. package/utils/LDrawUtils.d.ts +1 -1
  112. package/utils/SceneUtils.d.cts +1 -1
  113. package/utils/SceneUtils.d.ts +1 -1
  114. package/utils/SkeletonUtils.d.cts +1 -1
  115. package/utils/SkeletonUtils.d.ts +1 -1
  116. package/webxr/ARButton.d.cts +1 -1
  117. package/webxr/ARButton.d.ts +1 -1
  118. package/webxr/OculusHandModel.d.cts +1 -1
  119. package/webxr/OculusHandModel.d.ts +1 -1
  120. package/webxr/VRButton.d.cts +1 -1
  121. package/webxr/VRButton.d.ts +1 -1
  122. package/webxr/XRControllerModelFactory.d.cts +1 -1
  123. package/webxr/XRControllerModelFactory.d.ts +1 -1
  124. package/webxr/XRHandMeshModel.d.cts +1 -1
  125. package/webxr/XRHandMeshModel.d.ts +1 -1
@@ -373,4 +373,4 @@ declare class ArcballControls extends EventDispatcher<StandardControlsEventMap>
373
373
  update: () => void;
374
374
  private setStateFromJSON;
375
375
  }
376
- export { type ArcballControls };
376
+ export type { ArcballControls };
@@ -373,4 +373,4 @@ declare class ArcballControls extends EventDispatcher<StandardControlsEventMap>
373
373
  update: () => void;
374
374
  private setStateFromJSON;
375
375
  }
376
- export { type ArcballControls };
376
+ export type { ArcballControls };
@@ -26,4 +26,4 @@ declare class DeviceOrientationControls extends EventDispatcher<StandardControls
26
26
  update: () => void;
27
27
  dispose: () => void;
28
28
  }
29
- export { type DeviceOrientationControls };
29
+ export type { DeviceOrientationControls };
@@ -26,4 +26,4 @@ declare class DeviceOrientationControls extends EventDispatcher<StandardControls
26
26
  update: () => void;
27
27
  dispose: () => void;
28
28
  }
29
- export { type DeviceOrientationControls };
29
+ export type { DeviceOrientationControls };
@@ -64,4 +64,4 @@ declare class DragControls extends EventDispatcher<DragControlsEventMap> {
64
64
  private onTouchStart;
65
65
  private onTouchEnd;
66
66
  }
67
- export { type DragControls };
67
+ export type { DragControls };
@@ -64,4 +64,4 @@ declare class DragControls extends EventDispatcher<DragControlsEventMap> {
64
64
  private onTouchStart;
65
65
  private onTouchEnd;
66
66
  }
67
- export { type DragControls };
67
+ export type { DragControls };
@@ -36,4 +36,4 @@ declare class FlyControls extends EventDispatcher<FlyControlsEventMap> {
36
36
  connect: (domElement: HTMLElement | Document) => void;
37
37
  dispose: () => void;
38
38
  }
39
- export { type FlyControls };
39
+ export type { FlyControls };
@@ -36,4 +36,4 @@ declare class FlyControls extends EventDispatcher<FlyControlsEventMap> {
36
36
  connect: (domElement: HTMLElement | Document) => void;
37
37
  dispose: () => void;
38
38
  }
39
- export { type FlyControls };
39
+ export type { FlyControls };
@@ -71,4 +71,4 @@ declare class OrbitControls extends EventDispatcher<StandardControlsEventMap> {
71
71
  declare class MapControls extends OrbitControls {
72
72
  constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
73
73
  }
74
- export { type OrbitControls, MapControls };
74
+ export type { OrbitControls, MapControls };
@@ -71,4 +71,4 @@ declare class OrbitControls extends EventDispatcher<StandardControlsEventMap> {
71
71
  declare class MapControls extends OrbitControls {
72
72
  constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
73
73
  }
74
- export { type OrbitControls, MapControls };
74
+ export type { OrbitControls, MapControls };
@@ -36,4 +36,4 @@ declare class PointerLockControls extends EventDispatcher<PointerLockControlsEve
36
36
  lock: () => void;
37
37
  unlock: () => void;
38
38
  }
39
- export { type PointerLockControls };
39
+ export type { PointerLockControls };
@@ -36,4 +36,4 @@ declare class PointerLockControls extends EventDispatcher<PointerLockControlsEve
36
36
  lock: () => void;
37
37
  unlock: () => void;
38
38
  }
39
- export { type PointerLockControls };
39
+ export type { PointerLockControls };
@@ -94,4 +94,4 @@ declare class TrackballControls extends EventDispatcher<StandardControlsEventMap
94
94
  connect: (domElement: HTMLElement) => void;
95
95
  dispose: () => void;
96
96
  }
97
- export { type TrackballControls };
97
+ export type { TrackballControls };
@@ -94,4 +94,4 @@ declare class TrackballControls extends EventDispatcher<StandardControlsEventMap
94
94
  connect: (domElement: HTMLElement) => void;
95
95
  dispose: () => void;
96
96
  }
97
- export { type TrackballControls };
97
+ export type { TrackballControls };
@@ -148,4 +148,4 @@ declare class TransformControlsPlane extends Mesh<PlaneGeometry, MeshBasicMateri
148
148
  private space;
149
149
  updateMatrixWorld: () => void;
150
150
  }
151
- export { type TransformControls, TransformControlsGizmo, TransformControlsPlane };
151
+ export type { TransformControls, TransformControlsGizmo, TransformControlsPlane };
@@ -148,4 +148,4 @@ declare class TransformControlsPlane extends Mesh<PlaneGeometry, MeshBasicMateri
148
148
  private space;
149
149
  updateMatrixWorld: () => void;
150
150
  }
151
- export { type TransformControls, TransformControlsGizmo, TransformControlsPlane };
151
+ export type { TransformControls, TransformControlsGizmo, TransformControlsPlane };
@@ -210,4 +210,4 @@ declare class TrackballControlsExp extends CameraControls {
210
210
  };
211
211
  constructor(object: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement);
212
212
  }
213
- export { type CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
213
+ export type { CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
@@ -210,4 +210,4 @@ declare class TrackballControlsExp extends CameraControls {
210
210
  };
211
211
  constructor(object: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement);
212
212
  }
213
- export { type CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
213
+ export type { CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
@@ -10,7 +10,7 @@ export interface CSMFrustumParameters {
10
10
  maxFar?: number
11
11
  }
12
12
 
13
- export default class CSMFrustum {
13
+ export type default class CSMFrustum {
14
14
  constructor(data?: CSMFrustumParameters)
15
15
  vertices: CSMFrustumVerticies
16
16
  setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies
@@ -10,7 +10,7 @@ export interface CSMFrustumParameters {
10
10
  maxFar?: number
11
11
  }
12
12
 
13
- export default class CSMFrustum {
13
+ export type default class CSMFrustum {
14
14
  constructor(data?: CSMFrustumParameters)
15
15
  vertices: CSMFrustumVerticies
16
16
  setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies
@@ -3,4 +3,4 @@
3
3
  */
4
4
  import type * as THREE from 'three';
5
5
  declare function RoomEnvironment(): THREE.Scene;
6
- export { type RoomEnvironment };
6
+ export type { RoomEnvironment };
@@ -3,4 +3,4 @@
3
3
  */
4
4
  import type * as THREE from 'three';
5
5
  declare function RoomEnvironment(): THREE.Scene;
6
- export { type RoomEnvironment };
6
+ export type { RoomEnvironment };
@@ -47,4 +47,4 @@ declare class ColladaExporter {
47
47
  private processMaterial;
48
48
  private processObject;
49
49
  }
50
- export { type ColladaExporter };
50
+ export type { ColladaExporter };
@@ -47,4 +47,4 @@ declare class ColladaExporter {
47
47
  private processMaterial;
48
48
  private processObject;
49
49
  }
50
- export { type ColladaExporter };
50
+ export type { ColladaExporter };
@@ -33,4 +33,4 @@ declare class DRACOExporter {
33
33
  ): Int8Array
34
34
  }
35
35
 
36
- export { type DRACOExporter }
36
+ export type { DRACOExporter }
@@ -33,4 +33,4 @@ declare class DRACOExporter {
33
33
  ): Int8Array
34
34
  }
35
35
 
36
- export { type DRACOExporter }
36
+ export type { DRACOExporter }
@@ -37,7 +37,7 @@ export interface GLTFExporterOptions {
37
37
  animations?: AnimationClip[]
38
38
 
39
39
  /**
40
- * Generate indices for non-index geometry and export with them. Default is false.
40
+ * Generate indices for non-index geometry and export type with them. Default is false.
41
41
  */
42
42
  forceIndices?: boolean
43
43
 
@@ -67,11 +67,11 @@ export class GLTFExporter {
67
67
  * exporter.parse( object1, ... )
68
68
  * exporter.parse( [ object1, object2 ], ... )
69
69
  * ```
70
- * - Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects).
70
+ * - Mix scenes and objects (It will export type the scenes as usual but it will create a new scene to hold all the single objects).
71
71
  * ```js
72
72
  * exporter.parse( [ scene1, object1, object2, scene2 ], ... )
73
73
  * ```
74
- * @param onDone Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
74
+ * @param onDone Will be called when the export type completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
75
75
  * @param onError Will be called if there are any errors during the gltf generation.
76
76
  * @param options Export options
77
77
  */
@@ -37,7 +37,7 @@ export interface GLTFExporterOptions {
37
37
  animations?: AnimationClip[]
38
38
 
39
39
  /**
40
- * Generate indices for non-index geometry and export with them. Default is false.
40
+ * Generate indices for non-index geometry and export type with them. Default is false.
41
41
  */
42
42
  forceIndices?: boolean
43
43
 
@@ -67,11 +67,11 @@ export class GLTFExporter {
67
67
  * exporter.parse( object1, ... )
68
68
  * exporter.parse( [ object1, object2 ], ... )
69
69
  * ```
70
- * - Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects).
70
+ * - Mix scenes and objects (It will export type the scenes as usual but it will create a new scene to hold all the single objects).
71
71
  * ```js
72
72
  * exporter.parse( [ scene1, object1, object2, scene2 ], ... )
73
73
  * ```
74
- * @param onDone Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
74
+ * @param onDone Will be called when the export type completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
75
75
  * @param onError Will be called if there are any errors during the gltf generation.
76
76
  * @param options Export options
77
77
  */
@@ -9,4 +9,4 @@ declare class MMDExporter {
9
9
  private unicodeToShiftjis;
10
10
  private getBindBones;
11
11
  }
12
- export { type MMDExporter };
12
+ export type { MMDExporter };
@@ -9,4 +9,4 @@ declare class MMDExporter {
9
9
  private unicodeToShiftjis;
10
10
  private getBindBones;
11
11
  }
12
- export { type MMDExporter };
12
+ export type { MMDExporter };
@@ -15,4 +15,4 @@ declare class OBJExporter {
15
15
  private parseLine;
16
16
  private parsePoints;
17
17
  }
18
- export { type OBJExporter };
18
+ export type { OBJExporter };
@@ -15,4 +15,4 @@ declare class OBJExporter {
15
15
  private parseLine;
16
16
  private parsePoints;
17
17
  }
18
- export { type OBJExporter };
18
+ export type { OBJExporter };
@@ -20,4 +20,4 @@ declare class PLYExporter {
20
20
  parse(object: Object3D, onDone: ((res: string) => void) | undefined, options: PLYExporterOptions): string | ArrayBuffer | null;
21
21
  private traverseMeshes;
22
22
  }
23
- export { type PLYExporter };
23
+ export type { PLYExporter };
@@ -20,4 +20,4 @@ declare class PLYExporter {
20
20
  parse(object: Object3D, onDone: ((res: string) => void) | undefined, options: PLYExporterOptions): string | ArrayBuffer | null;
21
21
  private traverseMeshes;
22
22
  }
23
- export { type PLYExporter };
23
+ export type { PLYExporter };
@@ -24,4 +24,4 @@ declare class USDZExporter {
24
24
  private buildColor;
25
25
  private buildVector2;
26
26
  }
27
- export { type USDZExporter };
27
+ export type { USDZExporter };
@@ -24,4 +24,4 @@ declare class USDZExporter {
24
24
  private buildColor;
25
25
  private buildVector2;
26
26
  }
27
- export { type USDZExporter };
27
+ export type { USDZExporter };
@@ -2,7 +2,7 @@ import type { Curve, Vector3 } from 'three'
2
2
 
3
3
  import type { ParametricGeometry } from './ParametricGeometry.d.cts'
4
4
 
5
- export namespace ParametricGeometries {
5
+ export type namespace ParametricGeometries {
6
6
  function klein(v: number, u: number, target: Vector3): Vector3
7
7
  function plane(width: number, height: number): (u: number, v: number, target: Vector3) => Vector3
8
8
  function mobius(u: number, t: number, target: Vector3): Vector3
@@ -2,7 +2,7 @@ import type { Curve, Vector3 } from 'three'
2
2
 
3
3
  import type { ParametricGeometry } from './ParametricGeometry.d.ts'
4
4
 
5
- export namespace ParametricGeometries {
5
+ export type namespace ParametricGeometries {
6
6
  function klein(v: number, u: number, target: Vector3): Vector3
7
7
  function plane(width: number, height: number): (u: number, v: number, target: Vector3) => Vector3
8
8
  function mobius(u: number, t: number, target: Vector3): Vector3
@@ -15,4 +15,4 @@ export class ParametricGeometry extends BufferGeometry {
15
15
  }
16
16
  }
17
17
 
18
- export { type ParametricGeometry as ParametricBufferGeometry }
18
+ export type { ParametricGeometry as ParametricBufferGeometry }
@@ -15,4 +15,4 @@ export class ParametricGeometry extends BufferGeometry {
15
15
  }
16
16
  }
17
17
 
18
- export { type ParametricGeometry as ParametricBufferGeometry }
18
+ export type { ParametricGeometry as ParametricBufferGeometry }
@@ -15,4 +15,4 @@ export type TextGeometryParameters = {
15
15
  export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
- export { type TextGeometry as TextBufferGeometry };
18
+ export type { TextGeometry as TextBufferGeometry };
@@ -15,4 +15,4 @@ export type TextGeometryParameters = {
15
15
  export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
- export { type TextGeometry as TextBufferGeometry };
18
+ export type { TextGeometry as TextBufferGeometry };
@@ -30,4 +30,4 @@ declare class RaycasterHelper extends Object3D {
30
30
  update: () => void;
31
31
  dispose: () => void;
32
32
  }
33
- export { type RaycasterHelper };
33
+ export type { RaycasterHelper };
@@ -30,4 +30,4 @@ declare class RaycasterHelper extends Object3D {
30
30
  update: () => void;
31
31
  dispose: () => void;
32
32
  }
33
- export { type RaycasterHelper };
33
+ export type { RaycasterHelper };