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 +1 @@
1
- export type declare const version: number;
1
+ export declare const version: number;
@@ -1 +1 @@
1
- export type declare const version: number;
1
+ export declare const version: number;
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * https://github.com/mrdoob/three.js/pull/25943
4
4
  */
5
- export type declare const UV1: string;
5
+ export declare const UV1: string;
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * https://github.com/mrdoob/three.js/pull/25943
4
4
  */
5
- export type declare const UV1: string;
5
+ export declare const UV1: string;
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
13
13
  readonly target: TTarget;
14
14
  }
15
15
  export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
16
- export type declare class EventDispatcher<TEventMap extends {} = {}> {
16
+ export declare class EventDispatcher<TEventMap extends {} = {}> {
17
17
  private _listeners;
18
18
  /**
19
19
  * Adds a listener to an event type.
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
13
13
  readonly target: TTarget;
14
14
  }
15
15
  export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
16
- export type declare class EventDispatcher<TEventMap extends {} = {}> {
16
+ export declare class EventDispatcher<TEventMap extends {} = {}> {
17
17
  private _listeners;
18
18
  /**
19
19
  * Adds a listener to an event type.
@@ -1,6 +1,6 @@
1
1
  import type { Vector3, Camera } from 'three';
2
2
  import type { EventDispatcher } from './EventDispatcher.d.cts';
3
- export type declare class FirstPersonControls extends EventDispatcher<{}> {
3
+ export declare class FirstPersonControls extends EventDispatcher<{}> {
4
4
  object: Camera;
5
5
  domElement?: HTMLElement | null;
6
6
  enabled: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { Vector3, Camera } from 'three';
2
2
  import type { EventDispatcher } from './EventDispatcher.d.ts';
3
- export type declare class FirstPersonControls extends EventDispatcher<{}> {
3
+ export declare class FirstPersonControls extends EventDispatcher<{}> {
4
4
  object: Camera;
5
5
  domElement?: HTMLElement | null;
6
6
  enabled: boolean;
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.cts';
3
3
  export type CHANGE_EVENT = {
4
4
  type: 'change' | 'start' | 'end';
5
5
  };
6
- export type declare const STATE: {
6
+ export declare const STATE: {
7
7
  NONE: number;
8
8
  ROTATE: number;
9
9
  DOLLY: number;
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.ts';
3
3
  export type CHANGE_EVENT = {
4
4
  type: 'change' | 'start' | 'end';
5
5
  };
6
- export type declare const STATE: {
6
+ export declare const STATE: {
7
7
  NONE: number;
8
8
  ROTATE: number;
9
9
  DOLLY: number;
@@ -8,7 +8,7 @@ export interface STLExporterOptionsString {
8
8
  export interface STLExporterOptions {
9
9
  binary?: boolean;
10
10
  }
11
- export type declare class STLExporter {
11
+ export declare class STLExporter {
12
12
  private binary;
13
13
  private output;
14
14
  private offset;
@@ -8,7 +8,7 @@ export interface STLExporterOptionsString {
8
8
  export interface STLExporterOptions {
9
9
  binary?: boolean;
10
10
  }
11
- export type declare class STLExporter {
11
+ export declare class STLExporter {
12
12
  private binary;
13
13
  private output;
14
14
  private offset;
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
12
12
  lineHeight?: number;
13
13
  letterSpacing?: number;
14
14
  };
15
- export type declare class TextGeometry extends ExtrudeGeometry {
15
+ export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
18
  export type { TextGeometry as TextBufferGeometry };
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
12
12
  lineHeight?: number;
13
13
  letterSpacing?: number;
14
14
  };
15
- export type declare class TextGeometry extends ExtrudeGeometry {
15
+ export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
18
  export type { TextGeometry as TextBufferGeometry };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ZSTD (Zstandard) decoder.
3
3
  */
4
- export type declare class ZSTDDecoder {
4
+ export declare class ZSTDDecoder {
5
5
  init(): Promise<void>;
6
6
  _init(result: WebAssembly.WebAssemblyInstantiatedSource): void;
7
7
  decode(array: Uint8Array, uncompressedSize?: number): Uint8Array;
package/libs/zstddec.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ZSTD (Zstandard) decoder.
3
3
  */
4
- export type declare class ZSTDDecoder {
4
+ export declare class ZSTDDecoder {
5
5
  init(): Promise<void>;
6
6
  _init(result: WebAssembly.WebAssemblyInstantiatedSource): void;
7
7
  decode(array: Uint8Array, uncompressedSize?: number): Uint8Array;
@@ -4,7 +4,7 @@ type Options = {
4
4
  lineHeight: number;
5
5
  letterSpacing: number;
6
6
  };
7
- export type declare class FontLoader extends Loader {
7
+ export declare class FontLoader extends Loader {
8
8
  constructor(manager?: LoadingManager);
9
9
  load(url: string, onLoad?: (responseFont: Font) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
10
10
  loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Font>;
@@ -27,7 +27,7 @@ type FontData = {
27
27
  resolution: number;
28
28
  underlineThickness: number;
29
29
  };
30
- export type declare class Font {
30
+ export declare class Font {
31
31
  data: FontData;
32
32
  isFont: boolean;
33
33
  type: string;
@@ -4,7 +4,7 @@ type Options = {
4
4
  lineHeight: number;
5
5
  letterSpacing: number;
6
6
  };
7
- export type declare class FontLoader extends Loader {
7
+ export declare class FontLoader extends Loader {
8
8
  constructor(manager?: LoadingManager);
9
9
  load(url: string, onLoad?: (responseFont: Font) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
10
10
  loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Font>;
@@ -27,7 +27,7 @@ type FontData = {
27
27
  resolution: number;
28
28
  underlineThickness: number;
29
29
  };
30
- export type declare class Font {
30
+ export declare class Font {
31
31
  data: FontData;
32
32
  isFont: boolean;
33
33
  type: string;
@@ -1,7 +1,7 @@
1
1
  export interface NumberGenerator {
2
2
  random: () => number;
3
3
  }
4
- export type declare class SimplexNoise {
4
+ export declare class SimplexNoise {
5
5
  private grad3;
6
6
  private grad4;
7
7
  private p;
@@ -1,7 +1,7 @@
1
1
  export interface NumberGenerator {
2
2
  random: () => number;
3
3
  }
4
- export type declare class SimplexNoise {
4
+ export declare class SimplexNoise {
5
5
  private grad3;
6
6
  private grad4;
7
7
  private p;
package/misc/WebGL.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- export type declare function isWebGLAvailable(): boolean;
2
- export type declare function isWebGL2Available(): boolean;
3
- export type declare function getWebGLErrorMessage(): HTMLDivElement;
4
- export type declare function getWebGL2ErrorMessage(): HTMLDivElement;
5
- export type declare function getErrorMessage(version: 1 | 2): HTMLDivElement;
1
+ export declare function isWebGLAvailable(): boolean;
2
+ export declare function isWebGL2Available(): boolean;
3
+ export declare function getWebGLErrorMessage(): HTMLDivElement;
4
+ export declare function getWebGL2ErrorMessage(): HTMLDivElement;
5
+ export declare function getErrorMessage(version: 1 | 2): HTMLDivElement;
package/misc/WebGL.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export type declare function isWebGLAvailable(): boolean;
2
- export type declare function isWebGL2Available(): boolean;
3
- export type declare function getWebGLErrorMessage(): HTMLDivElement;
4
- export type declare function getWebGL2ErrorMessage(): HTMLDivElement;
5
- export type declare function getErrorMessage(version: 1 | 2): HTMLDivElement;
1
+ export declare function isWebGLAvailable(): boolean;
2
+ export declare function isWebGL2Available(): boolean;
3
+ export declare function getWebGLErrorMessage(): HTMLDivElement;
4
+ export declare function getWebGL2ErrorMessage(): HTMLDivElement;
5
+ export declare function getErrorMessage(version: 1 | 2): HTMLDivElement;
@@ -5,7 +5,7 @@ import type { IUniform } from 'three';
5
5
  *
6
6
  * @param { number } numberOfCurves the number of curves needed to be described by this texture.
7
7
  */
8
- export type declare const initSplineTexture: (numberOfCurves?: number) => DataTexture;
8
+ export declare const initSplineTexture: (numberOfCurves?: number) => DataTexture;
9
9
  /**
10
10
  * Write the curve description to the data texture
11
11
  *
@@ -13,7 +13,7 @@ export type declare const initSplineTexture: (numberOfCurves?: number) => DataTe
13
13
  * @param { Curve } splineCurve The curve to describe
14
14
  * @param { number } offset Which curve slot to write to
15
15
  */
16
- export type declare const updateSplineTexture: <TCurve extends Curve<any>>(texture: DataTexture, splineCurve: TCurve, offset?: number) => void;
16
+ export declare const updateSplineTexture: <TCurve extends Curve<any>>(texture: DataTexture, splineCurve: TCurve, offset?: number) => void;
17
17
  export interface INumericUniform extends IUniform {
18
18
  type: 'f' | 'i';
19
19
  value: number;
@@ -31,15 +31,15 @@ export type CurveModifierUniforms = {
31
31
  *
32
32
  * @param { DataTexture } Texture which holds the curve description
33
33
  */
34
- export type declare const getUniforms: (splineTexture: DataTexture) => CurveModifierUniforms;
34
+ export declare const getUniforms: (splineTexture: DataTexture) => CurveModifierUniforms;
35
35
  export type ModifiedMaterial<TMaterial extends Material> = TMaterial & {
36
36
  __ok: boolean;
37
37
  };
38
- export type declare function modifyShader<TMaterial extends Material = Material>(material: ModifiedMaterial<TMaterial>, uniforms: CurveModifierUniforms, numberOfCurves?: number): void;
38
+ export declare function modifyShader<TMaterial extends Material = Material>(material: ModifiedMaterial<TMaterial>, uniforms: CurveModifierUniforms, numberOfCurves?: number): void;
39
39
  /**
40
40
  * A helper class for making meshes bend aroudn curves
41
41
  */
42
- export type declare class Flow<TMesh extends Mesh = Mesh> {
42
+ export declare class Flow<TMesh extends Mesh = Mesh> {
43
43
  curveArray: Curve<any>[];
44
44
  curveLengthArray: number[];
45
45
  object3D: TMesh;
@@ -56,7 +56,7 @@ export type declare class Flow<TMesh extends Mesh = Mesh> {
56
56
  /**
57
57
  * A helper class for creating instanced versions of flow, where the instances are placed on the curve.
58
58
  */
59
- export type declare class InstancedFlow<TGeometry extends BufferGeometry = BufferGeometry, TMaterial extends Material = Material> extends Flow<InstancedMesh<TGeometry, TMaterial>> {
59
+ export declare class InstancedFlow<TGeometry extends BufferGeometry = BufferGeometry, TMaterial extends Material = Material> extends Flow<InstancedMesh<TGeometry, TMaterial>> {
60
60
  offsets: number[];
61
61
  whichCurve: number[];
62
62
  /**
@@ -5,7 +5,7 @@ import type { IUniform } from 'three';
5
5
  *
6
6
  * @param { number } numberOfCurves the number of curves needed to be described by this texture.
7
7
  */
8
- export type declare const initSplineTexture: (numberOfCurves?: number) => DataTexture;
8
+ export declare const initSplineTexture: (numberOfCurves?: number) => DataTexture;
9
9
  /**
10
10
  * Write the curve description to the data texture
11
11
  *
@@ -13,7 +13,7 @@ export type declare const initSplineTexture: (numberOfCurves?: number) => DataTe
13
13
  * @param { Curve } splineCurve The curve to describe
14
14
  * @param { number } offset Which curve slot to write to
15
15
  */
16
- export type declare const updateSplineTexture: <TCurve extends Curve<any>>(texture: DataTexture, splineCurve: TCurve, offset?: number) => void;
16
+ export declare const updateSplineTexture: <TCurve extends Curve<any>>(texture: DataTexture, splineCurve: TCurve, offset?: number) => void;
17
17
  export interface INumericUniform extends IUniform {
18
18
  type: 'f' | 'i';
19
19
  value: number;
@@ -31,15 +31,15 @@ export type CurveModifierUniforms = {
31
31
  *
32
32
  * @param { DataTexture } Texture which holds the curve description
33
33
  */
34
- export type declare const getUniforms: (splineTexture: DataTexture) => CurveModifierUniforms;
34
+ export declare const getUniforms: (splineTexture: DataTexture) => CurveModifierUniforms;
35
35
  export type ModifiedMaterial<TMaterial extends Material> = TMaterial & {
36
36
  __ok: boolean;
37
37
  };
38
- export type declare function modifyShader<TMaterial extends Material = Material>(material: ModifiedMaterial<TMaterial>, uniforms: CurveModifierUniforms, numberOfCurves?: number): void;
38
+ export declare function modifyShader<TMaterial extends Material = Material>(material: ModifiedMaterial<TMaterial>, uniforms: CurveModifierUniforms, numberOfCurves?: number): void;
39
39
  /**
40
40
  * A helper class for making meshes bend aroudn curves
41
41
  */
42
- export type declare class Flow<TMesh extends Mesh = Mesh> {
42
+ export declare class Flow<TMesh extends Mesh = Mesh> {
43
43
  curveArray: Curve<any>[];
44
44
  curveLengthArray: number[];
45
45
  object3D: TMesh;
@@ -56,7 +56,7 @@ export type declare class Flow<TMesh extends Mesh = Mesh> {
56
56
  /**
57
57
  * A helper class for creating instanced versions of flow, where the instances are placed on the curve.
58
58
  */
59
- export type declare class InstancedFlow<TGeometry extends BufferGeometry = BufferGeometry, TMaterial extends Material = Material> extends Flow<InstancedMesh<TGeometry, TMaterial>> {
59
+ export declare class InstancedFlow<TGeometry extends BufferGeometry = BufferGeometry, TMaterial extends Material = Material> extends Flow<InstancedMesh<TGeometry, TMaterial>> {
60
60
  offsets: number[];
61
61
  whichCurve: number[];
62
62
  /**
@@ -3,7 +3,7 @@ export interface GroundProjectedEnvParameters {
3
3
  height?: number;
4
4
  radius?: number;
5
5
  }
6
- export type declare class GroundProjectedEnv extends Mesh<BufferGeometry, ShaderMaterial> {
6
+ export declare class GroundProjectedEnv extends Mesh<BufferGeometry, ShaderMaterial> {
7
7
  constructor(texture: CubeTexture | Texture, options?: GroundProjectedEnvParameters);
8
8
  set radius(radius: number);
9
9
  get radius(): number;
@@ -3,7 +3,7 @@ export interface GroundProjectedEnvParameters {
3
3
  height?: number;
4
4
  radius?: number;
5
5
  }
6
- export type declare class GroundProjectedEnv extends Mesh<BufferGeometry, ShaderMaterial> {
6
+ export declare class GroundProjectedEnv extends Mesh<BufferGeometry, ShaderMaterial> {
7
7
  constructor(texture: CubeTexture | Texture, options?: GroundProjectedEnvParameters);
8
8
  set radius(radius: number);
9
9
  get radius(): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-stdlib",
3
- "version": "2.35.9",
3
+ "version": "2.35.10",
4
4
  "description": "stand-alone library of threejs examples",
5
5
  "keywords": [
6
6
  "three",
@@ -13,4 +13,4 @@ export type ACESFilmicToneMappingShaderUniforms = {
13
13
  };
14
14
  export interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {
15
15
  }
16
- export type declare const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader;
16
+ export declare const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader;
@@ -13,4 +13,4 @@ export type ACESFilmicToneMappingShaderUniforms = {
13
13
  };
14
14
  export interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {
15
15
  }
16
- export type declare const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader;
16
+ export declare const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader;
@@ -12,4 +12,4 @@ export type AfterimageShaderUniforms = {
12
12
  };
13
13
  export interface IAfterimageShader extends IShader<AfterimageShaderUniforms> {
14
14
  }
15
- export type declare const AfterimageShader: IAfterimageShader;
15
+ export declare const AfterimageShader: IAfterimageShader;
@@ -12,4 +12,4 @@ export type AfterimageShaderUniforms = {
12
12
  };
13
13
  export interface IAfterimageShader extends IShader<AfterimageShaderUniforms> {
14
14
  }
15
- export type declare const AfterimageShader: IAfterimageShader;
15
+ export declare const AfterimageShader: IAfterimageShader;
@@ -5,4 +5,4 @@ import type { IShader } from './types.d.cts';
5
5
  export type BasicShaderUniforms = {};
6
6
  export interface IBasicShader extends IShader<BasicShaderUniforms> {
7
7
  }
8
- export type declare const BasicShader: IBasicShader;
8
+ export declare const BasicShader: IBasicShader;
@@ -5,4 +5,4 @@ import type { IShader } from './types.d.ts';
5
5
  export type BasicShaderUniforms = {};
6
6
  export interface IBasicShader extends IShader<BasicShaderUniforms> {
7
7
  }
8
- export type declare const BasicShader: IBasicShader;
8
+ export declare const BasicShader: IBasicShader;
@@ -11,4 +11,4 @@ export type BleachBypassShaderUniforms = {
11
11
  };
12
12
  export interface IBleachBypassShader extends IShader<BleachBypassShaderUniforms> {
13
13
  }
14
- export type declare const BleachBypassShader: IBleachBypassShader;
14
+ export declare const BleachBypassShader: IBleachBypassShader;
@@ -11,4 +11,4 @@ export type BleachBypassShaderUniforms = {
11
11
  };
12
12
  export interface IBleachBypassShader extends IShader<BleachBypassShaderUniforms> {
13
13
  }
14
- export type declare const BleachBypassShader: IBleachBypassShader;
14
+ export declare const BleachBypassShader: IBleachBypassShader;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Blend two textures
3
3
  */
4
- export type declare const BlendShader: {
4
+ export declare const BlendShader: {
5
5
  uniforms: {
6
6
  tDiffuse1: {
7
7
  value: null;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Blend two textures
3
3
  */
4
- export type declare const BlendShader: {
4
+ export declare const BlendShader: {
5
5
  uniforms: {
6
6
  tDiffuse1: {
7
7
  value: null;
@@ -21,4 +21,4 @@ export type BokehShaderUniforms = {
21
21
  };
22
22
  export interface IBokehShader extends IShader<BokehShaderUniforms, BokehShaderDefines> {
23
23
  }
24
- export type declare const BokehShader: IBokehShader;
24
+ export declare const BokehShader: IBokehShader;
@@ -21,4 +21,4 @@ export type BokehShaderUniforms = {
21
21
  };
22
22
  export interface IBokehShader extends IShader<BokehShaderUniforms, BokehShaderDefines> {
23
23
  }
24
- export type declare const BokehShader: IBokehShader;
24
+ export declare const BokehShader: IBokehShader;
@@ -31,12 +31,12 @@ export interface BokehShader2Uniforms {
31
31
  *
32
32
  * Requires #define RINGS and SAMPLES integers
33
33
  */
34
- export type declare const BokehShader2: {
34
+ export declare const BokehShader2: {
35
35
  uniforms: BokehShader2Uniforms;
36
36
  vertexShader: string;
37
37
  fragmentShader: string;
38
38
  };
39
- export type declare const BokehDepthShader: {
39
+ export declare const BokehDepthShader: {
40
40
  uniforms: {
41
41
  mNear: {
42
42
  value: number;
@@ -31,12 +31,12 @@ export interface BokehShader2Uniforms {
31
31
  *
32
32
  * Requires #define RINGS and SAMPLES integers
33
33
  */
34
- export type declare const BokehShader2: {
34
+ export declare const BokehShader2: {
35
35
  uniforms: BokehShader2Uniforms;
36
36
  vertexShader: string;
37
37
  fragmentShader: string;
38
38
  };
39
- export type declare const BokehDepthShader: {
39
+ export declare const BokehDepthShader: {
40
40
  uniforms: {
41
41
  mNear: {
42
42
  value: number;
@@ -4,7 +4,7 @@
4
4
  * brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white)
5
5
  * contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
6
6
  */
7
- export type declare const BrightnessContrastShader: {
7
+ export declare const BrightnessContrastShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;
@@ -4,7 +4,7 @@
4
4
  * brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white)
5
5
  * contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
6
6
  */
7
- export type declare const BrightnessContrastShader: {
7
+ export declare const BrightnessContrastShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;
@@ -2,7 +2,7 @@ import type { Vector3 } from 'three';
2
2
  /**
3
3
  * Color correction
4
4
  */
5
- export type declare const ColorCorrectionShader: {
5
+ export declare const ColorCorrectionShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -2,7 +2,7 @@ import type { Vector3 } from 'three';
2
2
  /**
3
3
  * Color correction
4
4
  */
5
- export type declare const ColorCorrectionShader: {
5
+ export declare const ColorCorrectionShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -2,7 +2,7 @@ import type { Color } from 'three';
2
2
  /**
3
3
  * Colorify shader
4
4
  */
5
- export type declare const ColorifyShader: {
5
+ export declare const ColorifyShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -2,7 +2,7 @@ import type { Color } from 'three';
2
2
  /**
3
3
  * Colorify shader
4
4
  */
5
- export type declare const ColorifyShader: {
5
+ export declare const ColorifyShader: {
6
6
  uniforms: {
7
7
  tDiffuse: {
8
8
  value: null;
@@ -18,4 +18,4 @@ export type ConvolutionShaderUniforms = {
18
18
  export interface IConvolutionShader extends IShader<ConvolutionShaderUniforms, ConvolutionShaderDefines> {
19
19
  buildKernel: (sigma: number) => number[];
20
20
  }
21
- export type declare const ConvolutionShader: IConvolutionShader;
21
+ export declare const ConvolutionShader: IConvolutionShader;
@@ -18,4 +18,4 @@ export type ConvolutionShaderUniforms = {
18
18
  export interface IConvolutionShader extends IShader<ConvolutionShaderUniforms, ConvolutionShaderDefines> {
19
19
  buildKernel: (sigma: number) => number[];
20
20
  }
21
- export type declare const ConvolutionShader: IConvolutionShader;
21
+ export declare const ConvolutionShader: IConvolutionShader;
@@ -9,4 +9,4 @@ export type CopyShaderUniforms = {
9
9
  };
10
10
  export interface ICopyShader extends IShader<CopyShaderUniforms> {
11
11
  }
12
- export type declare const CopyShader: ICopyShader;
12
+ export declare const CopyShader: ICopyShader;
@@ -9,4 +9,4 @@ export type CopyShaderUniforms = {
9
9
  };
10
10
  export interface ICopyShader extends IShader<CopyShaderUniforms> {
11
11
  }
12
- export type declare const CopyShader: ICopyShader;
12
+ export declare const CopyShader: ICopyShader;
@@ -3,7 +3,7 @@
3
3
  * - from Matt Handley @applmak
4
4
  * - requires power-of-2 sized render target with enabled mipmaps
5
5
  */
6
- export type declare const DOFMipMapShader: {
6
+ export declare const DOFMipMapShader: {
7
7
  uniforms: {
8
8
  tColor: {
9
9
  value: null;
@@ -3,7 +3,7 @@
3
3
  * - from Matt Handley @applmak
4
4
  * - requires power-of-2 sized render target with enabled mipmaps
5
5
  */
6
- export type declare const DOFMipMapShader: {
6
+ export declare const DOFMipMapShader: {
7
7
  uniforms: {
8
8
  tColor: {
9
9
  value: null;
@@ -20,8 +20,8 @@ export interface IDepthLimitedBlurShader extends IShader<DepthLimitedBlurShaderU
20
20
  defines: DepthLimitedBlurShaderDefines;
21
21
  needsUpdate?: boolean;
22
22
  }
23
- export type declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
24
- export type declare const BlurShaderUtils: {
23
+ export declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
24
+ export declare const BlurShaderUtils: {
25
25
  createSampleWeights: (kernelRadius: number, stdDev: number) => number[];
26
26
  createSampleOffsets: (kernelRadius: number, uvIncrement: Vector2) => Vector2[];
27
27
  configure: (shader: IDepthLimitedBlurShader, kernelRadius: number, stdDev: number, uvIncrement: Vector2) => void;
@@ -20,8 +20,8 @@ export interface IDepthLimitedBlurShader extends IShader<DepthLimitedBlurShaderU
20
20
  defines: DepthLimitedBlurShaderDefines;
21
21
  needsUpdate?: boolean;
22
22
  }
23
- export type declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
24
- export type declare const BlurShaderUtils: {
23
+ export declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
24
+ export declare const BlurShaderUtils: {
25
25
  createSampleWeights: (kernelRadius: number, stdDev: number) => number[];
26
26
  createSampleOffsets: (kernelRadius: number, uvIncrement: Vector2) => Vector2[];
27
27
  configure: (shader: IDepthLimitedBlurShader, kernelRadius: number, stdDev: number, uvIncrement: Vector2) => void;
@@ -1,4 +1,4 @@
1
- export type declare const DigitalGlitch: {
1
+ export declare const DigitalGlitch: {
2
2
  uniforms: {
3
3
  tDiffuse: {
4
4
  value: null;
@@ -1,4 +1,4 @@
1
- export type declare const DigitalGlitch: {
1
+ export declare const DigitalGlitch: {
2
2
  uniforms: {
3
3
  tDiffuse: {
4
4
  value: null;
@@ -4,7 +4,7 @@ import type { Vector2 } from 'three';
4
4
  * based on glfx.js sepia shader
5
5
  * https://github.com/evanw/glfx.js
6
6
  */
7
- export type declare const DotScreenShader: {
7
+ export declare const DotScreenShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;