three-stdlib 2.35.8 → 2.35.9

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.
Files changed (255) 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/ArcballControls.d.cts +1 -1
  6. package/controls/ArcballControls.d.ts +1 -1
  7. package/controls/DeviceOrientationControls.d.cts +1 -1
  8. package/controls/DeviceOrientationControls.d.ts +1 -1
  9. package/controls/DragControls.d.cts +1 -1
  10. package/controls/DragControls.d.ts +1 -1
  11. package/controls/EventDispatcher.d.cts +1 -1
  12. package/controls/EventDispatcher.d.ts +1 -1
  13. package/controls/FirstPersonControls.d.cts +1 -1
  14. package/controls/FirstPersonControls.d.ts +1 -1
  15. package/controls/FlyControls.d.cts +1 -1
  16. package/controls/FlyControls.d.ts +1 -1
  17. package/controls/OrbitControls.d.cts +1 -1
  18. package/controls/OrbitControls.d.ts +1 -1
  19. package/controls/PointerLockControls.d.cts +1 -1
  20. package/controls/PointerLockControls.d.ts +1 -1
  21. package/controls/TrackballControls.d.cts +1 -1
  22. package/controls/TrackballControls.d.ts +1 -1
  23. package/controls/TransformControls.d.cts +1 -1
  24. package/controls/TransformControls.d.ts +1 -1
  25. package/controls/experimental/CameraControls.d.cts +2 -2
  26. package/controls/experimental/CameraControls.d.ts +2 -2
  27. package/csm/CSMFrustum.d.cts +1 -1
  28. package/csm/CSMFrustum.d.ts +1 -1
  29. package/environments/RoomEnvironment.d.cts +1 -1
  30. package/environments/RoomEnvironment.d.ts +1 -1
  31. package/exporters/ColladaExporter.d.cts +1 -1
  32. package/exporters/ColladaExporter.d.ts +1 -1
  33. package/exporters/DRACOExporter.d.cts +1 -1
  34. package/exporters/DRACOExporter.d.ts +1 -1
  35. package/exporters/GLTFExporter.d.cts +3 -3
  36. package/exporters/GLTFExporter.d.ts +3 -3
  37. package/exporters/MMDExporter.d.cts +1 -1
  38. package/exporters/MMDExporter.d.ts +1 -1
  39. package/exporters/OBJExporter.d.cts +1 -1
  40. package/exporters/OBJExporter.d.ts +1 -1
  41. package/exporters/PLYExporter.d.cts +1 -1
  42. package/exporters/PLYExporter.d.ts +1 -1
  43. package/exporters/STLExporter.d.cts +1 -1
  44. package/exporters/STLExporter.d.ts +1 -1
  45. package/exporters/USDZExporter.d.cts +1 -1
  46. package/exporters/USDZExporter.d.ts +1 -1
  47. package/geometries/ParametricGeometries.d.cts +1 -1
  48. package/geometries/ParametricGeometries.d.ts +1 -1
  49. package/geometries/ParametricGeometry.d.cts +1 -1
  50. package/geometries/ParametricGeometry.d.ts +1 -1
  51. package/geometries/TextGeometry.d.cts +2 -2
  52. package/geometries/TextGeometry.d.ts +2 -2
  53. package/helpers/RaycasterHelper.d.cts +1 -1
  54. package/helpers/RaycasterHelper.d.ts +1 -1
  55. package/index.d.cts +262 -262
  56. package/index.d.ts +262 -262
  57. package/libs/MeshoptDecoder.d.cts +1 -1
  58. package/libs/MeshoptDecoder.d.ts +1 -1
  59. package/libs/MotionControllers.d.cts +1 -1
  60. package/libs/MotionControllers.d.ts +1 -1
  61. package/libs/zstddec.d.cts +1 -1
  62. package/libs/zstddec.d.ts +1 -1
  63. package/lights/LightProbeGenerator.d.cts +1 -1
  64. package/lights/LightProbeGenerator.d.ts +1 -1
  65. package/lights/RectAreaLightUniformsLib.d.cts +1 -1
  66. package/lights/RectAreaLightUniformsLib.d.ts +1 -1
  67. package/loaders/FontLoader.d.cts +3 -3
  68. package/loaders/FontLoader.d.ts +3 -3
  69. package/math/ColorConverter.d.cts +1 -1
  70. package/math/ColorConverter.d.ts +1 -1
  71. package/math/SimplexNoise.d.cts +1 -1
  72. package/math/SimplexNoise.d.ts +1 -1
  73. package/misc/Timer.d.cts +1 -1
  74. package/misc/Timer.d.ts +1 -1
  75. package/misc/WebGL.d.cts +5 -5
  76. package/misc/WebGL.d.ts +5 -5
  77. package/modifiers/CurveModifier.d.cts +6 -6
  78. package/modifiers/CurveModifier.d.ts +6 -6
  79. package/modifiers/EdgeSplitModifier.d.cts +1 -1
  80. package/modifiers/EdgeSplitModifier.d.ts +1 -1
  81. package/modifiers/SimplifyModifier.d.cts +1 -1
  82. package/modifiers/SimplifyModifier.d.ts +1 -1
  83. package/modifiers/TessellateModifier.d.cts +1 -1
  84. package/modifiers/TessellateModifier.d.ts +1 -1
  85. package/objects/BatchedMesh.d.cts +1 -1
  86. package/objects/BatchedMesh.d.ts +1 -1
  87. package/objects/GroundProjectedEnv.d.cts +1 -1
  88. package/objects/GroundProjectedEnv.d.ts +1 -1
  89. package/objects/ReflectorRTT.d.cts +1 -1
  90. package/objects/ReflectorRTT.d.ts +1 -1
  91. package/objects/Sky.d.cts +1 -1
  92. package/objects/Sky.d.ts +1 -1
  93. package/package.json +1 -1
  94. package/postprocessing/AfterimagePass.d.cts +1 -1
  95. package/postprocessing/AfterimagePass.d.ts +1 -1
  96. package/postprocessing/BloomPass.d.cts +1 -1
  97. package/postprocessing/BloomPass.d.ts +1 -1
  98. package/postprocessing/BokehPass.d.cts +1 -1
  99. package/postprocessing/BokehPass.d.ts +1 -1
  100. package/postprocessing/ClearPass.d.cts +1 -1
  101. package/postprocessing/ClearPass.d.ts +1 -1
  102. package/postprocessing/DotScreenPass.d.cts +1 -1
  103. package/postprocessing/DotScreenPass.d.ts +1 -1
  104. package/postprocessing/EffectComposer.d.cts +1 -1
  105. package/postprocessing/EffectComposer.d.ts +1 -1
  106. package/postprocessing/FilmPass.d.cts +1 -1
  107. package/postprocessing/FilmPass.d.ts +1 -1
  108. package/postprocessing/GlitchPass.d.cts +1 -1
  109. package/postprocessing/GlitchPass.d.ts +1 -1
  110. package/postprocessing/HalftonePass.d.cts +1 -1
  111. package/postprocessing/HalftonePass.d.ts +1 -1
  112. package/postprocessing/MaskPass.d.cts +1 -1
  113. package/postprocessing/MaskPass.d.ts +1 -1
  114. package/postprocessing/OutlinePass.d.cts +1 -1
  115. package/postprocessing/OutlinePass.d.ts +1 -1
  116. package/postprocessing/Pass.d.cts +1 -1
  117. package/postprocessing/Pass.d.ts +1 -1
  118. package/postprocessing/RenderPass.d.cts +1 -1
  119. package/postprocessing/RenderPass.d.ts +1 -1
  120. package/postprocessing/ShaderPass.d.cts +1 -1
  121. package/postprocessing/ShaderPass.d.ts +1 -1
  122. package/postprocessing/WaterPass.d.cts +1 -1
  123. package/postprocessing/WaterPass.d.ts +1 -1
  124. package/shaders/ACESFilmicToneMappingShader.d.cts +1 -1
  125. package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  126. package/shaders/AfterimageShader.d.cts +1 -1
  127. package/shaders/AfterimageShader.d.ts +1 -1
  128. package/shaders/BasicShader.d.cts +1 -1
  129. package/shaders/BasicShader.d.ts +1 -1
  130. package/shaders/BleachBypassShader.d.cts +1 -1
  131. package/shaders/BleachBypassShader.d.ts +1 -1
  132. package/shaders/BlendShader.d.cts +1 -1
  133. package/shaders/BlendShader.d.ts +1 -1
  134. package/shaders/BokehShader.d.cts +1 -1
  135. package/shaders/BokehShader.d.ts +1 -1
  136. package/shaders/BokehShader2.d.cts +2 -2
  137. package/shaders/BokehShader2.d.ts +2 -2
  138. package/shaders/BrightnessContrastShader.d.cts +1 -1
  139. package/shaders/BrightnessContrastShader.d.ts +1 -1
  140. package/shaders/ColorCorrectionShader.d.cts +1 -1
  141. package/shaders/ColorCorrectionShader.d.ts +1 -1
  142. package/shaders/ColorifyShader.d.cts +1 -1
  143. package/shaders/ColorifyShader.d.ts +1 -1
  144. package/shaders/ConvolutionShader.d.cts +1 -1
  145. package/shaders/ConvolutionShader.d.ts +1 -1
  146. package/shaders/CopyShader.d.cts +1 -1
  147. package/shaders/CopyShader.d.ts +1 -1
  148. package/shaders/DOFMipMapShader.d.cts +1 -1
  149. package/shaders/DOFMipMapShader.d.ts +1 -1
  150. package/shaders/DepthLimitedBlurShader.d.cts +2 -2
  151. package/shaders/DepthLimitedBlurShader.d.ts +2 -2
  152. package/shaders/DigitalGlitch.d.cts +1 -1
  153. package/shaders/DigitalGlitch.d.ts +1 -1
  154. package/shaders/DotScreenShader.d.cts +1 -1
  155. package/shaders/DotScreenShader.d.ts +1 -1
  156. package/shaders/FXAAShader.d.cts +1 -1
  157. package/shaders/FXAAShader.d.ts +1 -1
  158. package/shaders/FilmShader.d.cts +1 -1
  159. package/shaders/FilmShader.d.ts +1 -1
  160. package/shaders/FocusShader.d.cts +1 -1
  161. package/shaders/FocusShader.d.ts +1 -1
  162. package/shaders/FreiChenShader.d.cts +1 -1
  163. package/shaders/FreiChenShader.d.ts +1 -1
  164. package/shaders/FresnelShader.d.cts +1 -1
  165. package/shaders/FresnelShader.d.ts +1 -1
  166. package/shaders/GammaCorrectionShader.d.cts +1 -1
  167. package/shaders/GammaCorrectionShader.d.ts +1 -1
  168. package/shaders/GodRaysShader.d.cts +4 -4
  169. package/shaders/GodRaysShader.d.ts +4 -4
  170. package/shaders/HalftoneShader.d.cts +1 -1
  171. package/shaders/HalftoneShader.d.ts +1 -1
  172. package/shaders/HorizontalBlurShader.d.cts +1 -1
  173. package/shaders/HorizontalBlurShader.d.ts +1 -1
  174. package/shaders/HorizontalTiltShiftShader.d.cts +1 -1
  175. package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  176. package/shaders/HueSaturationShader.d.cts +1 -1
  177. package/shaders/HueSaturationShader.d.ts +1 -1
  178. package/shaders/KaleidoShader.d.cts +1 -1
  179. package/shaders/KaleidoShader.d.ts +1 -1
  180. package/shaders/LuminosityHighPassShader.d.cts +1 -1
  181. package/shaders/LuminosityHighPassShader.d.ts +1 -1
  182. package/shaders/LuminosityShader.d.cts +1 -1
  183. package/shaders/LuminosityShader.d.ts +1 -1
  184. package/shaders/MirrorShader.d.cts +1 -1
  185. package/shaders/MirrorShader.d.ts +1 -1
  186. package/shaders/NormalMapShader.d.cts +1 -1
  187. package/shaders/NormalMapShader.d.ts +1 -1
  188. package/shaders/ParallaxShader.d.cts +1 -1
  189. package/shaders/ParallaxShader.d.ts +1 -1
  190. package/shaders/PixelShader.d.cts +1 -1
  191. package/shaders/PixelShader.d.ts +1 -1
  192. package/shaders/RGBShiftShader.d.cts +1 -1
  193. package/shaders/RGBShiftShader.d.ts +1 -1
  194. package/shaders/SAOShader.d.cts +1 -1
  195. package/shaders/SAOShader.d.ts +1 -1
  196. package/shaders/SMAAShader.d.cts +3 -3
  197. package/shaders/SMAAShader.d.ts +3 -3
  198. package/shaders/SSAOShader.d.cts +3 -3
  199. package/shaders/SSAOShader.d.ts +3 -3
  200. package/shaders/SSRShader.d.cts +3 -3
  201. package/shaders/SSRShader.d.ts +3 -3
  202. package/shaders/SepiaShader.d.cts +1 -1
  203. package/shaders/SepiaShader.d.ts +1 -1
  204. package/shaders/SobelOperatorShader.d.cts +1 -1
  205. package/shaders/SobelOperatorShader.d.ts +1 -1
  206. package/shaders/SubsurfaceScatteringShader.d.cts +1 -1
  207. package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  208. package/shaders/TechnicolorShader.d.cts +1 -1
  209. package/shaders/TechnicolorShader.d.ts +1 -1
  210. package/shaders/ToneMapShader.d.cts +1 -1
  211. package/shaders/ToneMapShader.d.ts +1 -1
  212. package/shaders/ToonShader.d.cts +4 -4
  213. package/shaders/ToonShader.d.ts +4 -4
  214. package/shaders/TriangleBlurShader.d.cts +1 -1
  215. package/shaders/TriangleBlurShader.d.ts +1 -1
  216. package/shaders/UnpackDepthRGBAShader.d.cts +1 -1
  217. package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  218. package/shaders/VerticalBlurShader.d.cts +1 -1
  219. package/shaders/VerticalBlurShader.d.ts +1 -1
  220. package/shaders/VerticalTiltShiftShader.d.cts +1 -1
  221. package/shaders/VerticalTiltShiftShader.d.ts +1 -1
  222. package/shaders/VignetteShader.d.cts +1 -1
  223. package/shaders/VignetteShader.d.ts +1 -1
  224. package/shaders/VolumeShader.d.cts +1 -1
  225. package/shaders/VolumeShader.d.ts +1 -1
  226. package/shaders/WaterRefractionShader.d.cts +1 -1
  227. package/shaders/WaterRefractionShader.d.ts +1 -1
  228. package/textures/FlakesTexture.d.cts +1 -1
  229. package/textures/FlakesTexture.d.ts +1 -1
  230. package/types/helpers.d.cts +1 -1
  231. package/types/helpers.d.ts +1 -1
  232. package/types/shared.d.cts +1 -1
  233. package/types/shared.d.ts +1 -1
  234. package/utils/BufferGeometryUtils.d.cts +8 -8
  235. package/utils/BufferGeometryUtils.d.ts +8 -8
  236. package/utils/GeometryCompressionUtils.d.cts +1 -1
  237. package/utils/GeometryCompressionUtils.d.ts +1 -1
  238. package/utils/GeometryUtils.d.cts +1 -1
  239. package/utils/GeometryUtils.d.ts +1 -1
  240. package/utils/LDrawUtils.d.cts +1 -1
  241. package/utils/LDrawUtils.d.ts +1 -1
  242. package/utils/SceneUtils.d.cts +1 -1
  243. package/utils/SceneUtils.d.ts +1 -1
  244. package/utils/SkeletonUtils.d.cts +1 -1
  245. package/utils/SkeletonUtils.d.ts +1 -1
  246. package/webxr/ARButton.d.cts +1 -1
  247. package/webxr/ARButton.d.ts +1 -1
  248. package/webxr/OculusHandModel.d.cts +1 -1
  249. package/webxr/OculusHandModel.d.ts +1 -1
  250. package/webxr/VRButton.d.cts +1 -1
  251. package/webxr/VRButton.d.ts +1 -1
  252. package/webxr/XRControllerModelFactory.d.cts +1 -1
  253. package/webxr/XRControllerModelFactory.d.ts +1 -1
  254. package/webxr/XRHandMeshModel.d.cts +1 -1
  255. package/webxr/XRHandMeshModel.d.ts +1 -1
@@ -7,7 +7,7 @@
7
7
  * amount: shift distance (1 is width of input)
8
8
  * angle: shift angle in radians
9
9
  */
10
- export declare const RGBShiftShader: {
10
+ export type declare const RGBShiftShader: {
11
11
  uniforms: {
12
12
  tDiffuse: {
13
13
  value: null;
@@ -22,4 +22,4 @@ export interface ISAOShader extends IShader<SAOShaderUniforms, SAOShaderDefines>
22
22
  defines: SAOShaderDefines;
23
23
  needsUpdate?: boolean;
24
24
  }
25
- export declare const SAOShader: ISAOShader;
25
+ export type declare const SAOShader: ISAOShader;
@@ -22,4 +22,4 @@ export interface ISAOShader extends IShader<SAOShaderUniforms, SAOShaderDefines>
22
22
  defines: SAOShaderDefines;
23
23
  needsUpdate?: boolean;
24
24
  }
25
- export declare const SAOShader: ISAOShader;
25
+ export type declare const SAOShader: ISAOShader;
@@ -4,7 +4,7 @@ import type { Vector2 } from 'three';
4
4
  * Preset: SMAA 1x Medium (with color edge detection)
5
5
  * https://github.com/iryoku/smaa/releases/tag/v2.8
6
6
  */
7
- export declare const SMAAEdgesShader: {
7
+ export type declare const SMAAEdgesShader: {
8
8
  defines: {
9
9
  SMAA_THRESHOLD: string;
10
10
  };
@@ -19,7 +19,7 @@ export declare const SMAAEdgesShader: {
19
19
  vertexShader: string;
20
20
  fragmentShader: string;
21
21
  };
22
- export declare const SMAAWeightsShader: {
22
+ export type declare const SMAAWeightsShader: {
23
23
  defines: {
24
24
  SMAA_MAX_SEARCH_STEPS: string;
25
25
  SMAA_AREATEX_MAX_DISTANCE: string;
@@ -43,7 +43,7 @@ export declare const SMAAWeightsShader: {
43
43
  vertexShader: string;
44
44
  fragmentShader: string;
45
45
  };
46
- export declare const SMAABlendShader: {
46
+ export type declare const SMAABlendShader: {
47
47
  uniforms: {
48
48
  tDiffuse: {
49
49
  value: null;
@@ -4,7 +4,7 @@ import type { Vector2 } from 'three';
4
4
  * Preset: SMAA 1x Medium (with color edge detection)
5
5
  * https://github.com/iryoku/smaa/releases/tag/v2.8
6
6
  */
7
- export declare const SMAAEdgesShader: {
7
+ export type declare const SMAAEdgesShader: {
8
8
  defines: {
9
9
  SMAA_THRESHOLD: string;
10
10
  };
@@ -19,7 +19,7 @@ export declare const SMAAEdgesShader: {
19
19
  vertexShader: string;
20
20
  fragmentShader: string;
21
21
  };
22
- export declare const SMAAWeightsShader: {
22
+ export type declare const SMAAWeightsShader: {
23
23
  defines: {
24
24
  SMAA_MAX_SEARCH_STEPS: string;
25
25
  SMAA_AREATEX_MAX_DISTANCE: string;
@@ -43,7 +43,7 @@ export declare const SMAAWeightsShader: {
43
43
  vertexShader: string;
44
44
  fragmentShader: string;
45
45
  };
46
- export declare const SMAABlendShader: {
46
+ export type declare const SMAABlendShader: {
47
47
  uniforms: {
48
48
  tDiffuse: {
49
49
  value: null;
@@ -5,7 +5,7 @@ import type { Matrix4, Vector2 } from 'three';
5
5
  * https://learnopengl.com/Advanced-Lighting/SSAO
6
6
  * https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl
7
7
  */
8
- export declare const SSAOShader: {
8
+ export type declare const SSAOShader: {
9
9
  defines: {
10
10
  PERSPECTIVE_CAMERA: number;
11
11
  KERNEL_SIZE: number;
@@ -54,7 +54,7 @@ export declare const SSAOShader: {
54
54
  vertexShader: string;
55
55
  fragmentShader: string;
56
56
  };
57
- export declare const SSAODepthShader: {
57
+ export type declare const SSAODepthShader: {
58
58
  defines: {
59
59
  PERSPECTIVE_CAMERA: number;
60
60
  };
@@ -72,7 +72,7 @@ export declare const SSAODepthShader: {
72
72
  vertexShader: string;
73
73
  fragmentShader: string;
74
74
  };
75
- export declare const SSAOBlurShader: {
75
+ export type declare const SSAOBlurShader: {
76
76
  uniforms: {
77
77
  tDiffuse: {
78
78
  value: null;
@@ -5,7 +5,7 @@ import type { Matrix4, Vector2 } from 'three';
5
5
  * https://learnopengl.com/Advanced-Lighting/SSAO
6
6
  * https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl
7
7
  */
8
- export declare const SSAOShader: {
8
+ export type declare const SSAOShader: {
9
9
  defines: {
10
10
  PERSPECTIVE_CAMERA: number;
11
11
  KERNEL_SIZE: number;
@@ -54,7 +54,7 @@ export declare const SSAOShader: {
54
54
  vertexShader: string;
55
55
  fragmentShader: string;
56
56
  };
57
- export declare const SSAODepthShader: {
57
+ export type declare const SSAODepthShader: {
58
58
  defines: {
59
59
  PERSPECTIVE_CAMERA: number;
60
60
  };
@@ -72,7 +72,7 @@ export declare const SSAODepthShader: {
72
72
  vertexShader: string;
73
73
  fragmentShader: string;
74
74
  };
75
- export declare const SSAOBlurShader: {
75
+ export type declare const SSAOBlurShader: {
76
76
  uniforms: {
77
77
  tDiffuse: {
78
78
  value: null;
@@ -3,7 +3,7 @@ import type { Matrix4, Vector2 } from 'three';
3
3
  * References:
4
4
  * https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
5
5
  */
6
- export declare const SSRShader: {
6
+ export type declare const SSRShader: {
7
7
  defines: {
8
8
  MAX_STEP: number;
9
9
  isPerspectiveCamera: boolean;
@@ -59,7 +59,7 @@ export declare const SSRShader: {
59
59
  vertexShader: string;
60
60
  fragmentShader: string;
61
61
  };
62
- export declare const SSRDepthShader: {
62
+ export type declare const SSRDepthShader: {
63
63
  defines: {
64
64
  PERSPECTIVE_CAMERA: number;
65
65
  };
@@ -77,7 +77,7 @@ export declare const SSRDepthShader: {
77
77
  vertexShader: string;
78
78
  fragmentShader: string;
79
79
  };
80
- export declare const SSRBlurShader: {
80
+ export type declare const SSRBlurShader: {
81
81
  uniforms: {
82
82
  tDiffuse: {
83
83
  value: null;
@@ -3,7 +3,7 @@ import type { Matrix4, Vector2 } from 'three';
3
3
  * References:
4
4
  * https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
5
5
  */
6
- export declare const SSRShader: {
6
+ export type declare const SSRShader: {
7
7
  defines: {
8
8
  MAX_STEP: number;
9
9
  isPerspectiveCamera: boolean;
@@ -59,7 +59,7 @@ export declare const SSRShader: {
59
59
  vertexShader: string;
60
60
  fragmentShader: string;
61
61
  };
62
- export declare const SSRDepthShader: {
62
+ export type declare const SSRDepthShader: {
63
63
  defines: {
64
64
  PERSPECTIVE_CAMERA: number;
65
65
  };
@@ -77,7 +77,7 @@ export declare const SSRDepthShader: {
77
77
  vertexShader: string;
78
78
  fragmentShader: string;
79
79
  };
80
- export declare const SSRBlurShader: {
80
+ export type declare const SSRBlurShader: {
81
81
  uniforms: {
82
82
  tDiffuse: {
83
83
  value: null;
@@ -3,7 +3,7 @@
3
3
  * based on glfx.js sepia shader
4
4
  * https://github.com/evanw/glfx.js
5
5
  */
6
- export declare const SepiaShader: {
6
+ export type declare const SepiaShader: {
7
7
  uniforms: {
8
8
  tDiffuse: {
9
9
  value: null;
@@ -3,7 +3,7 @@
3
3
  * based on glfx.js sepia shader
4
4
  * https://github.com/evanw/glfx.js
5
5
  */
6
- export declare const SepiaShader: {
6
+ export type declare const SepiaShader: {
7
7
  uniforms: {
8
8
  tDiffuse: {
9
9
  value: null;
@@ -5,7 +5,7 @@ import type { Vector2 } from 'three';
5
5
  * As mentioned in the video the Sobel operator expects a grayscale image as input.
6
6
  *
7
7
  */
8
- export declare const SobelOperatorShader: {
8
+ export type declare const SobelOperatorShader: {
9
9
  uniforms: {
10
10
  tDiffuse: {
11
11
  value: null;
@@ -5,7 +5,7 @@ import type { Vector2 } from 'three';
5
5
  * As mentioned in the video the Sobel operator expects a grayscale image as input.
6
6
  *
7
7
  */
8
- export declare const SobelOperatorShader: {
8
+ export type declare const SobelOperatorShader: {
9
9
  uniforms: {
10
10
  tDiffuse: {
11
11
  value: null;
@@ -1,4 +1,4 @@
1
- export declare const SubsurfaceScatteringShader: {
1
+ export type declare const SubsurfaceScatteringShader: {
2
2
  uniforms: any;
3
3
  vertexShader: any;
4
4
  fragmentShader: any;
@@ -1,4 +1,4 @@
1
- export declare const SubsurfaceScatteringShader: {
1
+ export type 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 declare const TechnicolorShader: {
7
+ export type 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 declare const TechnicolorShader: {
7
+ export type 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 declare const ToneMapShader: {
4
+ export type 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 declare const ToneMapShader: {
4
+ export type 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 declare const ToonShader1: {
10
+ export type declare const ToonShader1: {
11
11
  uniforms: {
12
12
  uDirLightPos: {
13
13
  value: Vector3;
@@ -25,7 +25,7 @@ export declare const ToonShader1: {
25
25
  vertexShader: string;
26
26
  fragmentShader: string;
27
27
  };
28
- export declare const ToonShader2: {
28
+ export type declare const ToonShader2: {
29
29
  uniforms: {
30
30
  uDirLightPos: {
31
31
  value: Vector3;
@@ -55,7 +55,7 @@ export declare const ToonShader2: {
55
55
  vertexShader: string;
56
56
  fragmentShader: string;
57
57
  };
58
- export declare const ToonShaderHatching: {
58
+ export type declare const ToonShaderHatching: {
59
59
  uniforms: {
60
60
  uDirLightPos: {
61
61
  value: Vector3;
@@ -85,7 +85,7 @@ export declare const ToonShaderHatching: {
85
85
  vertexShader: string;
86
86
  fragmentShader: string;
87
87
  };
88
- export declare const ToonShaderDotted: {
88
+ export type 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 declare const ToonShader1: {
10
+ export type declare const ToonShader1: {
11
11
  uniforms: {
12
12
  uDirLightPos: {
13
13
  value: Vector3;
@@ -25,7 +25,7 @@ export declare const ToonShader1: {
25
25
  vertexShader: string;
26
26
  fragmentShader: string;
27
27
  };
28
- export declare const ToonShader2: {
28
+ export type declare const ToonShader2: {
29
29
  uniforms: {
30
30
  uDirLightPos: {
31
31
  value: Vector3;
@@ -55,7 +55,7 @@ export declare const ToonShader2: {
55
55
  vertexShader: string;
56
56
  fragmentShader: string;
57
57
  };
58
- export declare const ToonShaderHatching: {
58
+ export type declare const ToonShaderHatching: {
59
59
  uniforms: {
60
60
  uDirLightPos: {
61
61
  value: Vector3;
@@ -85,7 +85,7 @@ export declare const ToonShaderHatching: {
85
85
  vertexShader: string;
86
86
  fragmentShader: string;
87
87
  };
88
- export declare const ToonShaderDotted: {
88
+ export type 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 declare const TriangleBlurShader: {
11
+ export type 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 declare const TriangleBlurShader: {
11
+ export type 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 declare const UnpackDepthRGBAShader: {
5
+ export type 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 declare const UnpackDepthRGBAShader: {
5
+ export type 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 declare const VerticalBlurShader: IVerticalBlurShader;
18
+ export type 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 declare const VerticalBlurShader: IVerticalBlurShader;
18
+ export type 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 declare const VerticalTiltShiftShader: {
9
+ export type 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 declare const VerticalTiltShiftShader: {
9
+ export type 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 declare const VignetteShader: {
6
+ export type 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 declare const VignetteShader: {
6
+ export type 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 declare const VolumeRenderShader1: {
7
+ export type 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 declare const VolumeRenderShader1: {
7
+ export type declare const VolumeRenderShader1: {
8
8
  uniforms: {
9
9
  u_size: {
10
10
  value: Vector3;
@@ -1,4 +1,4 @@
1
- export declare const WaterRefractionShader: {
1
+ export type declare const WaterRefractionShader: {
2
2
  uniforms: {
3
3
  color: {
4
4
  value: null;
@@ -1,4 +1,4 @@
1
- export declare const WaterRefractionShader: {
1
+ export type declare const WaterRefractionShader: {
2
2
  uniforms: {
3
3
  color: {
4
4
  value: null;
@@ -1,4 +1,4 @@
1
1
  declare class FlakesTexture {
2
2
  constructor(width?: number, height?: number);
3
3
  }
4
- export { type FlakesTexture };
4
+ export type { FlakesTexture };
@@ -1,4 +1,4 @@
1
1
  declare class FlakesTexture {
2
2
  constructor(width?: number, height?: number);
3
3
  }
4
- export { type FlakesTexture };
4
+ export type { FlakesTexture };
@@ -1 +1 @@
1
- export declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
1
+ export type declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
@@ -1 +1 @@
1
- export declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
1
+ export type declare const getWithKey: <T, K extends keyof T>(obj: T, key: K) => T[K];
@@ -6,4 +6,4 @@ type sRGBEncoding = 3001;
6
6
  * Stub for `TextureEncoding` type since it was removed in r162.
7
7
  */
8
8
  export type TextureEncoding = LinearEncoding | sRGBEncoding;
9
- export {};
9
+ export type {};
package/types/shared.d.ts CHANGED
@@ -6,4 +6,4 @@ type sRGBEncoding = 3001;
6
6
  * Stub for `TextureEncoding` type since it was removed in r162.
7
7
  */
8
8
  export type TextureEncoding = LinearEncoding | sRGBEncoding;
9
- export {};
9
+ export type {};
@@ -4,34 +4,34 @@ import type { BufferAttribute, BufferGeometry, Float32BufferAttribute, Interleav
4
4
  * @param {Boolean} useGroups
5
5
  * @return {BufferGeometry}
6
6
  */
7
- export declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
7
+ export type 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 declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
12
+ export type 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 declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
17
+ export type declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
18
18
  /**
19
19
  * @param {Array<BufferGeometry>} geometry
20
20
  * @return {number}
21
21
  */
22
- export declare function estimateBytesUsed(geometry: BufferGeometry): number;
22
+ export type 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 declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
28
+ export type 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 declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
34
+ export type 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 declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
47
+ export type 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 declare function computeMorphedAttributes(object: Mesh | Line | Points):
60
60
  * @param geometry
61
61
  * @param creaseAngle
62
62
  */
63
- export declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
63
+ export type 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 declare const mergeBufferGeometries: (geometries: BufferGeometry[], useGroups?: boolean) => BufferGeometry | null;
7
+ export type 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 declare const mergeBufferAttributes: (attributes: BufferAttribute[]) => BufferAttribute | null | undefined;
12
+ export type 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 declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
17
+ export type declare const interleaveAttributes: (attributes: BufferAttribute[]) => InterleavedBufferAttribute[] | null;
18
18
  /**
19
19
  * @param {Array<BufferGeometry>} geometry
20
20
  * @return {number}
21
21
  */
22
- export declare function estimateBytesUsed(geometry: BufferGeometry): number;
22
+ export type 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 declare function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry;
28
+ export type 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 declare function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry;
34
+ export type 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 declare function computeMorphedAttributes(object: Mesh | Line | Points): ComputedMorphedAttribute | null;
47
+ export type 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 declare function computeMorphedAttributes(object: Mesh | Line | Points):
60
60
  * @param geometry
61
61
  * @param creaseAngle
62
62
  */
63
- export declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
63
+ export type declare function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry;
@@ -1,6 +1,6 @@
1
1
  import type { Mesh } from 'three'
2
2
 
3
- export namespace GeometryCompressionUtils {
3
+ export type namespace GeometryCompressionUtils {
4
4
  function compressNormals(mesh: Mesh, encodeMethod: string): void
5
5
  function compressPositions(mesh: Mesh): void
6
6
  function compressUvs(mesh: Mesh): void