three-stdlib 2.35.9 → 2.35.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/_polyfill/constants.d.cts +1 -1
  2. package/_polyfill/constants.d.ts +1 -1
  3. package/_polyfill/uv1.d.cts +1 -1
  4. package/_polyfill/uv1.d.ts +1 -1
  5. package/controls/EventDispatcher.d.cts +1 -1
  6. package/controls/EventDispatcher.d.ts +1 -1
  7. package/controls/FirstPersonControls.d.cts +1 -1
  8. package/controls/FirstPersonControls.d.ts +1 -1
  9. package/controls/experimental/CameraControls.d.cts +1 -1
  10. package/controls/experimental/CameraControls.d.ts +1 -1
  11. package/exporters/STLExporter.d.cts +1 -1
  12. package/exporters/STLExporter.d.ts +1 -1
  13. package/geometries/TextGeometry.d.cts +1 -1
  14. package/geometries/TextGeometry.d.ts +1 -1
  15. package/libs/zstddec.d.cts +1 -1
  16. package/libs/zstddec.d.ts +1 -1
  17. package/loaders/FontLoader.d.cts +2 -2
  18. package/loaders/FontLoader.d.ts +2 -2
  19. package/math/SimplexNoise.d.cts +1 -1
  20. package/math/SimplexNoise.d.ts +1 -1
  21. package/misc/WebGL.d.cts +5 -5
  22. package/misc/WebGL.d.ts +5 -5
  23. package/modifiers/CurveModifier.d.cts +6 -6
  24. package/modifiers/CurveModifier.d.ts +6 -6
  25. package/objects/GroundProjectedEnv.d.cts +1 -1
  26. package/objects/GroundProjectedEnv.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/shaders/ACESFilmicToneMappingShader.d.cts +1 -1
  29. package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  30. package/shaders/AfterimageShader.d.cts +1 -1
  31. package/shaders/AfterimageShader.d.ts +1 -1
  32. package/shaders/BasicShader.d.cts +1 -1
  33. package/shaders/BasicShader.d.ts +1 -1
  34. package/shaders/BleachBypassShader.d.cts +1 -1
  35. package/shaders/BleachBypassShader.d.ts +1 -1
  36. package/shaders/BlendShader.d.cts +1 -1
  37. package/shaders/BlendShader.d.ts +1 -1
  38. package/shaders/BokehShader.d.cts +1 -1
  39. package/shaders/BokehShader.d.ts +1 -1
  40. package/shaders/BokehShader2.d.cts +2 -2
  41. package/shaders/BokehShader2.d.ts +2 -2
  42. package/shaders/BrightnessContrastShader.d.cts +1 -1
  43. package/shaders/BrightnessContrastShader.d.ts +1 -1
  44. package/shaders/ColorCorrectionShader.d.cts +1 -1
  45. package/shaders/ColorCorrectionShader.d.ts +1 -1
  46. package/shaders/ColorifyShader.d.cts +1 -1
  47. package/shaders/ColorifyShader.d.ts +1 -1
  48. package/shaders/ConvolutionShader.d.cts +1 -1
  49. package/shaders/ConvolutionShader.d.ts +1 -1
  50. package/shaders/CopyShader.d.cts +1 -1
  51. package/shaders/CopyShader.d.ts +1 -1
  52. package/shaders/DOFMipMapShader.d.cts +1 -1
  53. package/shaders/DOFMipMapShader.d.ts +1 -1
  54. package/shaders/DepthLimitedBlurShader.d.cts +2 -2
  55. package/shaders/DepthLimitedBlurShader.d.ts +2 -2
  56. package/shaders/DigitalGlitch.d.cts +1 -1
  57. package/shaders/DigitalGlitch.d.ts +1 -1
  58. package/shaders/DotScreenShader.d.cts +1 -1
  59. package/shaders/DotScreenShader.d.ts +1 -1
  60. package/shaders/FXAAShader.d.cts +1 -1
  61. package/shaders/FXAAShader.d.ts +1 -1
  62. package/shaders/FilmShader.d.cts +1 -1
  63. package/shaders/FilmShader.d.ts +1 -1
  64. package/shaders/FocusShader.d.cts +1 -1
  65. package/shaders/FocusShader.d.ts +1 -1
  66. package/shaders/FreiChenShader.d.cts +1 -1
  67. package/shaders/FreiChenShader.d.ts +1 -1
  68. package/shaders/FresnelShader.d.cts +1 -1
  69. package/shaders/FresnelShader.d.ts +1 -1
  70. package/shaders/GammaCorrectionShader.d.cts +1 -1
  71. package/shaders/GammaCorrectionShader.d.ts +1 -1
  72. package/shaders/GodRaysShader.d.cts +4 -4
  73. package/shaders/GodRaysShader.d.ts +4 -4
  74. package/shaders/HalftoneShader.d.cts +1 -1
  75. package/shaders/HalftoneShader.d.ts +1 -1
  76. package/shaders/HorizontalBlurShader.d.cts +1 -1
  77. package/shaders/HorizontalBlurShader.d.ts +1 -1
  78. package/shaders/HorizontalTiltShiftShader.d.cts +1 -1
  79. package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  80. package/shaders/HueSaturationShader.d.cts +1 -1
  81. package/shaders/HueSaturationShader.d.ts +1 -1
  82. package/shaders/KaleidoShader.d.cts +1 -1
  83. package/shaders/KaleidoShader.d.ts +1 -1
  84. package/shaders/LuminosityHighPassShader.d.cts +1 -1
  85. package/shaders/LuminosityHighPassShader.d.ts +1 -1
  86. package/shaders/LuminosityShader.d.cts +1 -1
  87. package/shaders/LuminosityShader.d.ts +1 -1
  88. package/shaders/MirrorShader.d.cts +1 -1
  89. package/shaders/MirrorShader.d.ts +1 -1
  90. package/shaders/NormalMapShader.d.cts +1 -1
  91. package/shaders/NormalMapShader.d.ts +1 -1
  92. package/shaders/ParallaxShader.d.cts +1 -1
  93. package/shaders/ParallaxShader.d.ts +1 -1
  94. package/shaders/PixelShader.d.cts +1 -1
  95. package/shaders/PixelShader.d.ts +1 -1
  96. package/shaders/RGBShiftShader.d.cts +1 -1
  97. package/shaders/RGBShiftShader.d.ts +1 -1
  98. package/shaders/SAOShader.d.cts +1 -1
  99. package/shaders/SAOShader.d.ts +1 -1
  100. package/shaders/SMAAShader.d.cts +3 -3
  101. package/shaders/SMAAShader.d.ts +3 -3
  102. package/shaders/SSAOShader.d.cts +3 -3
  103. package/shaders/SSAOShader.d.ts +3 -3
  104. package/shaders/SSRShader.d.cts +3 -3
  105. package/shaders/SSRShader.d.ts +3 -3
  106. package/shaders/SepiaShader.d.cts +1 -1
  107. package/shaders/SepiaShader.d.ts +1 -1
  108. package/shaders/SobelOperatorShader.d.cts +1 -1
  109. package/shaders/SobelOperatorShader.d.ts +1 -1
  110. package/shaders/SubsurfaceScatteringShader.d.cts +1 -1
  111. package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  112. package/shaders/TechnicolorShader.d.cts +1 -1
  113. package/shaders/TechnicolorShader.d.ts +1 -1
  114. package/shaders/ToneMapShader.d.cts +1 -1
  115. package/shaders/ToneMapShader.d.ts +1 -1
  116. package/shaders/ToonShader.d.cts +4 -4
  117. package/shaders/ToonShader.d.ts +4 -4
  118. package/shaders/TriangleBlurShader.d.cts +1 -1
  119. package/shaders/TriangleBlurShader.d.ts +1 -1
  120. package/shaders/UnpackDepthRGBAShader.d.cts +1 -1
  121. package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  122. package/shaders/VerticalBlurShader.d.cts +1 -1
  123. package/shaders/VerticalBlurShader.d.ts +1 -1
  124. package/shaders/VerticalTiltShiftShader.d.cts +1 -1
  125. package/shaders/VerticalTiltShiftShader.d.ts +1 -1
  126. package/shaders/VignetteShader.d.cts +1 -1
  127. package/shaders/VignetteShader.d.ts +1 -1
  128. package/shaders/VolumeShader.d.cts +1 -1
  129. package/shaders/VolumeShader.d.ts +1 -1
  130. package/shaders/WaterRefractionShader.d.cts +1 -1
  131. package/shaders/WaterRefractionShader.d.ts +1 -1
  132. package/types/helpers.d.cts +1 -1
  133. package/types/helpers.d.ts +1 -1
  134. package/utils/BufferGeometryUtils.d.cts +8 -8
  135. package/utils/BufferGeometryUtils.d.ts +8 -8
  136. package/utils/GeometryUtils.d.cts +1 -1
  137. package/utils/GeometryUtils.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- export type declare const SubsurfaceScatteringShader: {
1
+ export declare const SubsurfaceScatteringShader: {
2
2
  uniforms: any;
3
3
  vertexShader: any;
4
4
  fragmentShader: any;
@@ -1,4 +1,4 @@
1
- export type declare const SubsurfaceScatteringShader: {
1
+ export declare const SubsurfaceScatteringShader: {
2
2
  uniforms: any;
3
3
  vertexShader: any;
4
4
  fragmentShader: any;
@@ -4,7 +4,7 @@
4
4
  * More historical info here: http://www.widescreenmuseum.com/oldcolor/technicolor1.htm
5
5
  * Demo here: http://charliehoey.com/technicolor_shader/shader_test.html
6
6
  */
7
- export type declare const TechnicolorShader: {
7
+ export declare const TechnicolorShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;
@@ -4,7 +4,7 @@
4
4
  * More historical info here: http://www.widescreenmuseum.com/oldcolor/technicolor1.htm
5
5
  * Demo here: http://charliehoey.com/technicolor_shader/shader_test.html
6
6
  */
7
- export type declare const TechnicolorShader: {
7
+ export declare const TechnicolorShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Full-screen tone-mapping shader based on http://www.cis.rit.edu/people/faculty/ferwerda/publications/sig02_paper.pdf
3
3
  */
4
- export type declare const ToneMapShader: {
4
+ export declare const ToneMapShader: {
5
5
  uniforms: {
6
6
  tDiffuse: {
7
7
  value: null;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Full-screen tone-mapping shader based on http://www.cis.rit.edu/people/faculty/ferwerda/publications/sig02_paper.pdf
3
3
  */
4
- export type declare const ToneMapShader: {
4
+ export declare const ToneMapShader: {
5
5
  uniforms: {
6
6
  tDiffuse: {
7
7
  value: null;
@@ -7,7 +7,7 @@ import type { Color, Vector3 } from 'three';
7
7
  * hatching
8
8
  * dotted
9
9
  */
10
- export type declare const ToonShader1: {
10
+ export declare const ToonShader1: {
11
11
  uniforms: {
12
12
  uDirLightPos: {
13
13
  value: Vector3;
@@ -25,7 +25,7 @@ export type declare const ToonShader1: {
25
25
  vertexShader: string;
26
26
  fragmentShader: string;
27
27
  };
28
- export type declare const ToonShader2: {
28
+ export declare const ToonShader2: {
29
29
  uniforms: {
30
30
  uDirLightPos: {
31
31
  value: Vector3;
@@ -55,7 +55,7 @@ export type declare const ToonShader2: {
55
55
  vertexShader: string;
56
56
  fragmentShader: string;
57
57
  };
58
- export type declare const ToonShaderHatching: {
58
+ export declare const ToonShaderHatching: {
59
59
  uniforms: {
60
60
  uDirLightPos: {
61
61
  value: Vector3;
@@ -85,7 +85,7 @@ export type declare const ToonShaderHatching: {
85
85
  vertexShader: string;
86
86
  fragmentShader: string;
87
87
  };
88
- export type declare const ToonShaderDotted: {
88
+ export declare const ToonShaderDotted: {
89
89
  uniforms: {
90
90
  uDirLightPos: {
91
91
  value: Vector3;
@@ -7,7 +7,7 @@ import type { Color, Vector3 } from 'three';
7
7
  * hatching
8
8
  * dotted
9
9
  */
10
- export type declare const ToonShader1: {
10
+ export declare const ToonShader1: {
11
11
  uniforms: {
12
12
  uDirLightPos: {
13
13
  value: Vector3;
@@ -25,7 +25,7 @@ export type declare const ToonShader1: {
25
25
  vertexShader: string;
26
26
  fragmentShader: string;
27
27
  };
28
- export type declare const ToonShader2: {
28
+ export declare const ToonShader2: {
29
29
  uniforms: {
30
30
  uDirLightPos: {
31
31
  value: Vector3;
@@ -55,7 +55,7 @@ export type declare const ToonShader2: {
55
55
  vertexShader: string;
56
56
  fragmentShader: string;
57
57
  };
58
- export type declare const ToonShaderHatching: {
58
+ export declare const ToonShaderHatching: {
59
59
  uniforms: {
60
60
  uDirLightPos: {
61
61
  value: Vector3;
@@ -85,7 +85,7 @@ export type declare const ToonShaderHatching: {
85
85
  vertexShader: string;
86
86
  fragmentShader: string;
87
87
  };
88
- export type declare const ToonShaderDotted: {
88
+ export declare const ToonShaderDotted: {
89
89
  uniforms: {
90
90
  uDirLightPos: {
91
91
  value: Vector3;
@@ -8,7 +8,7 @@ import type { Vector2 } from 'three';
8
8
  * pyramid filter. The pyramid filter is separable and is applied as two
9
9
  * perpendicular triangle filters.
10
10
  */
11
- export type declare const TriangleBlurShader: {
11
+ export declare const TriangleBlurShader: {
12
12
  uniforms: {
13
13
  texture: {
14
14
  value: null;
@@ -8,7 +8,7 @@ import type { Vector2 } from 'three';
8
8
  * pyramid filter. The pyramid filter is separable and is applied as two
9
9
  * perpendicular triangle filters.
10
10
  */
11
- export type declare const TriangleBlurShader: {
11
+ export declare const TriangleBlurShader: {
12
12
  uniforms: {
13
13
  texture: {
14
14
  value: null;
@@ -2,7 +2,7 @@
2
2
  * Unpack RGBA depth shader
3
3
  * - show RGBA encoded depth as monochrome color
4
4
  */
5
- export type declare const UnpackDepthRGBAShader: {
5
+ export declare const UnpackDepthRGBAShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -2,7 +2,7 @@
2
2
  * Unpack RGBA depth shader
3
3
  * - show RGBA encoded depth as monochrome color
4
4
  */
5
- export type declare const UnpackDepthRGBAShader: {
5
+ export declare const UnpackDepthRGBAShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -15,4 +15,4 @@ export type VerticalBlurShaderUniforms = {
15
15
  };
16
16
  export interface IVerticalBlurShader extends IShader<VerticalBlurShaderUniforms> {
17
17
  }
18
- export type declare const VerticalBlurShader: IVerticalBlurShader;
18
+ export declare const VerticalBlurShader: IVerticalBlurShader;
@@ -15,4 +15,4 @@ export type VerticalBlurShaderUniforms = {
15
15
  };
16
16
  export interface IVerticalBlurShader extends IShader<VerticalBlurShaderUniforms> {
17
17
  }
18
- export type declare const VerticalBlurShader: IVerticalBlurShader;
18
+ export declare const VerticalBlurShader: IVerticalBlurShader;
@@ -6,7 +6,7 @@
6
6
  * - "h" and "v" parameters should be set to "1 / width" and "1 / height"
7
7
  * - "r" parameter control where "focused" horizontal line lies
8
8
  */
9
- export type declare const VerticalTiltShiftShader: {
9
+ export declare const VerticalTiltShiftShader: {
10
10
  uniforms: {
11
11
  tDiffuse: {
12
12
  value: null;
@@ -6,7 +6,7 @@
6
6
  * - "h" and "v" parameters should be set to "1 / width" and "1 / height"
7
7
  * - "r" parameter control where "focused" horizontal line lies
8
8
  */
9
- export type declare const VerticalTiltShiftShader: {
9
+ export declare const VerticalTiltShiftShader: {
10
10
  uniforms: {
11
11
  tDiffuse: {
12
12
  value: null;
@@ -3,7 +3,7 @@
3
3
  * based on PaintEffect postprocess from ro.me
4
4
  * http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js
5
5
  */
6
- export type declare const VignetteShader: {
6
+ export declare const VignetteShader: {
7
7
  uniforms: {
8
8
  tDiffuse: {
9
9
  value: null;
@@ -3,7 +3,7 @@
3
3
  * based on PaintEffect postprocess from ro.me
4
4
  * http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js
5
5
  */
6
- export type declare const VignetteShader: {
6
+ export declare const VignetteShader: {
7
7
  uniforms: {
8
8
  tDiffuse: {
9
9
  value: null;
@@ -4,7 +4,7 @@ import type { Vector2, Vector3 } from 'three';
4
4
  * The applied techniques are based on similar implementations in the Visvis and Vispy projects.
5
5
  * This is not the only approach, therefore it's marked 1.
6
6
  */
7
- export type declare const VolumeRenderShader1: {
7
+ export declare const VolumeRenderShader1: {
8
8
  uniforms: {
9
9
  u_size: {
10
10
  value: Vector3;
@@ -4,7 +4,7 @@ import type { Vector2, Vector3 } from 'three';
4
4
  * The applied techniques are based on similar implementations in the Visvis and Vispy projects.
5
5
  * This is not the only approach, therefore it's marked 1.
6
6
  */
7
- export type declare const VolumeRenderShader1: {
7
+ export declare const VolumeRenderShader1: {
8
8
  uniforms: {
9
9
  u_size: {
10
10
  value: Vector3;
@@ -1,4 +1,4 @@
1
- export type declare const WaterRefractionShader: {
1
+ export declare const WaterRefractionShader: {
2
2
  uniforms: {
3
3
  color: {
4
4
  value: null;
@@ -1,4 +1,4 @@
1
- export type declare const WaterRefractionShader: {
1
+ export declare const WaterRefractionShader: {
2
2
  uniforms: {
3
3
  color: {
4
4
  value: null;
@@ -1 +1 @@
1
- export type declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
1
+ export declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
@@ -1 +1 @@
1
- export type declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
1
+ export declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
@@ -4,34 +4,34 @@ import type { BufferAttribute, BufferGeometry, Float32BufferAttribute, Interleav
4
4
  * @param {Boolean} useGroups
5
5
  * @return {BufferGeometry}
6
6
  */
7
- export type declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
7
+ export declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
8
8
  /**
9
9
  * @param {Array<BufferAttribute>} attributes
10
10
  * @return {BufferAttribute}
11
11
  */
12
- export type declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
12
+ export declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
13
13
  /**
14
14
  * @param {Array<BufferAttribute>} attributes
15
15
  * @return {Array<InterleavedBufferAttribute>}
16
16
  */
17
- export type declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
17
+ export declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
18
18
  /**
19
19
  * @param {Array<BufferGeometry>} geometry
20
20
  * @return {number}
21
21
  */
22
- export type declare function estimateBytesUsed(geometry: BufferGeometry): number;
22
+ export declare function estimateBytesUsed(geometry: BufferGeometry): number;
23
23
  /**
24
24
  * @param {BufferGeometry} geometry
25
25
  * @param {number} tolerance
26
26
  * @return {BufferGeometry>}
27
27
  */
28
- export type declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
28
+ export declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
29
29
  /**
30
30
  * @param {BufferGeometry} geometry
31
31
  * @param {number} drawMode
32
32
  * @return {BufferGeometry}
33
33
  */
34
- export type declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
34
+ export declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
35
35
  /**
36
36
  * Calculates the morphed attributes of a morphed/skinned BufferGeometry.
37
37
  * Helpful for Raytracing or Decals.
@@ -44,7 +44,7 @@ export type ComputedMorphedAttribute = {
44
44
  morphedPositionAttribute: Float32BufferAttribute;
45
45
  morphedNormalAttribute: Float32BufferAttribute;
46
46
  };
47
- export type declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
47
+ export declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
48
48
  /**
49
49
  * Modifies the supplied geometry if it is non-indexed, otherwise creates a new,
50
50
  * non-indexed geometry. Returns the geometry with smooth normals everywhere except
@@ -60,4 +60,4 @@ export type declare function computeMorphedAttributes(object: Mesh | Line | Poin
60
60
  * @param geometry
61
61
  * @param creaseAngle
62
62
  */
63
- export type declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
63
+ export declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
@@ -4,34 +4,34 @@ import type { BufferAttribute, BufferGeometry, Float32BufferAttribute, Interleav
4
4
  * @param {Boolean} useGroups
5
5
  * @return {BufferGeometry}
6
6
  */
7
- export type declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
7
+ export declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
8
8
  /**
9
9
  * @param {Array<BufferAttribute>} attributes
10
10
  * @return {BufferAttribute}
11
11
  */
12
- export type declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
12
+ export declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
13
13
  /**
14
14
  * @param {Array<BufferAttribute>} attributes
15
15
  * @return {Array<InterleavedBufferAttribute>}
16
16
  */
17
- export type declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
17
+ export declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
18
18
  /**
19
19
  * @param {Array<BufferGeometry>} geometry
20
20
  * @return {number}
21
21
  */
22
- export type declare function estimateBytesUsed(geometry: BufferGeometry): number;
22
+ export declare function estimateBytesUsed(geometry: BufferGeometry): number;
23
23
  /**
24
24
  * @param {BufferGeometry} geometry
25
25
  * @param {number} tolerance
26
26
  * @return {BufferGeometry>}
27
27
  */
28
- export type declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
28
+ export declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
29
29
  /**
30
30
  * @param {BufferGeometry} geometry
31
31
  * @param {number} drawMode
32
32
  * @return {BufferGeometry}
33
33
  */
34
- export type declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
34
+ export declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
35
35
  /**
36
36
  * Calculates the morphed attributes of a morphed/skinned BufferGeometry.
37
37
  * Helpful for Raytracing or Decals.
@@ -44,7 +44,7 @@ export type ComputedMorphedAttribute = {
44
44
  morphedPositionAttribute: Float32BufferAttribute;
45
45
  morphedNormalAttribute: Float32BufferAttribute;
46
46
  };
47
- export type declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
47
+ export declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
48
48
  /**
49
49
  * Modifies the supplied geometry if it is non-indexed, otherwise creates a new,
50
50
  * non-indexed geometry. Returns the geometry with smooth normals everywhere except
@@ -60,4 +60,4 @@ export type declare function computeMorphedAttributes(object: Mesh | Line | Poin
60
60
  * @param geometry
61
61
  * @param creaseAngle
62
62
  */
63
- export type declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
63
+ export declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
@@ -1,5 +1,5 @@
1
1
  import type { Vector3 } from 'three';
2
- export type declare const GeometryUtils: {
2
+ export declare const GeometryUtils: {
3
3
  hilbert3D: (center?: Vector3, size?: number, iterations?: number, v0?: number, v1?: number, v2?: number, v3?: number, v4?: number, v5?: number, v6?: number, v7?: number) => Vector3[];
4
4
  gosper: (size?: number) => number[];
5
5
  hilbert2D: (center?: Vector3, size?: number, iterations?: number, v0?: number, v1?: number, v2?: number, v3?: number) => Vector3[];
@@ -1,5 +1,5 @@
1
1
  import type { Vector3 } from 'three';
2
- export type declare const GeometryUtils: {
2
+ export declare const GeometryUtils: {
3
3
  hilbert3D: (center?: Vector3, size?: number, iterations?: number, v0?: number, v1?: number, v2?: number, v3?: number, v4?: number, v5?: number, v6?: number, v7?: number) => Vector3[];
4
4
  gosper: (size?: number) => number[];
5
5
  hilbert2D: (center?: Vector3, size?: number, iterations?: number, v0?: number, v1?: number, v2?: number, v3?: number) => Vector3[];