three-stdlib 2.14.1 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/csm/CSM.cjs.js +1 -1
  2. package/csm/CSM.js +8 -8
  3. package/csm/CSMFrustum.cjs.js +1 -0
  4. package/csm/CSMFrustum.d.ts +19 -0
  5. package/csm/{Frustum.js → CSMFrustum.js} +8 -7
  6. package/csm/CSMShader.cjs.js +1 -0
  7. package/csm/CSMShader.d.ts +4 -0
  8. package/csm/{Shader.js → CSMShader.js} +52 -36
  9. package/curves/CurveExtras.d.ts +52 -54
  10. package/geometries/ParametricGeometries.cjs.js +1 -1
  11. package/geometries/ParametricGeometries.js +91 -99
  12. package/geometries/ParametricGeometry.cjs.js +1 -0
  13. package/geometries/ParametricGeometry.d.ts +18 -0
  14. package/geometries/ParametricGeometry.js +87 -0
  15. package/index.cjs.js +1 -1
  16. package/index.d.ts +3 -77
  17. package/index.js +4 -1
  18. package/interactive/InteractiveGroup.cjs.js +1 -0
  19. package/interactive/InteractiveGroup.d.ts +5 -0
  20. package/interactive/InteractiveGroup.js +87 -0
  21. package/lines/Line2.cjs.js +1 -1
  22. package/lines/Line2.d.ts +7 -5
  23. package/lines/Line2.js +2 -5
  24. package/lines/LineGeometry.cjs.js +1 -1
  25. package/lines/LineGeometry.d.ts +6 -8
  26. package/lines/LineGeometry.js +28 -39
  27. package/lines/LineMaterial.cjs.js +1 -1
  28. package/lines/LineMaterial.d.ts +23 -19
  29. package/lines/LineMaterial.js +263 -107
  30. package/lines/LineSegments2.cjs.js +1 -1
  31. package/lines/LineSegments2.d.ts +12 -20
  32. package/lines/LineSegments2.js +272 -125
  33. package/lines/LineSegmentsGeometry.cjs.js +1 -1
  34. package/lines/LineSegmentsGeometry.d.ts +18 -16
  35. package/lines/LineSegmentsGeometry.js +30 -40
  36. package/lines/Wireframe.cjs.js +1 -1
  37. package/lines/Wireframe.js +39 -39
  38. package/lines/WireframeGeometry2.cjs.js +1 -1
  39. package/lines/WireframeGeometry2.js +8 -9
  40. package/loaders/GLTFLoader.d.ts +2 -9
  41. package/loaders/LUT3dlLoader.d.ts +2 -2
  42. package/loaders/LUTCubeLoader.d.ts +2 -2
  43. package/loaders/RGBELoader.cjs.js +1 -1
  44. package/loaders/RGBELoader.js +1 -9
  45. package/loaders/VOXLoader.d.ts +2 -2
  46. package/objects/Reflector.d.ts +1 -0
  47. package/objects/ReflectorForSSRPass.d.ts +4 -4
  48. package/objects/Refractor.d.ts +1 -0
  49. package/objects/Water2.d.ts +1 -1
  50. package/package.json +2 -1
  51. package/postprocessing/LUTPass.d.ts +3 -3
  52. package/postprocessing/SSAARenderPass.d.ts +1 -1
  53. package/postprocessing/SSRPass.d.ts +3 -3
  54. package/shaders/BokehShader2.d.ts +27 -72
  55. package/shaders/BokehShader2.js +0 -1
  56. package/shaders/index.cjs.js +1 -1
  57. package/shaders/index.d.ts +2 -1
  58. package/shaders/index.js +1 -1
  59. package/csm/Frustum.cjs.js +0 -1
  60. package/csm/Shader.cjs.js +0 -1
  61. package/loaders/VRMLoader.d.ts +0 -19
  62. package/nodes/Nodes.d.ts +0 -106
  63. package/nodes/accessors/CameraNode.d.ts +0 -29
  64. package/nodes/accessors/NormalNode.d.ts +0 -13
  65. package/nodes/accessors/PositionNode.d.ts +0 -15
  66. package/nodes/accessors/ReflectNode.d.ts +0 -12
  67. package/nodes/accessors/UVNode.d.ts +0 -10
  68. package/nodes/core/AttributeNode.d.ts +0 -13
  69. package/nodes/core/ConstNode.d.ts +0 -22
  70. package/nodes/core/ExpressionNode.d.ts +0 -5
  71. package/nodes/core/FunctionCallNode.d.ts +0 -17
  72. package/nodes/core/FunctionNode.d.ts +0 -28
  73. package/nodes/core/InputNode.d.ts +0 -12
  74. package/nodes/core/Node.d.ts +0 -34
  75. package/nodes/core/NodeBuilder.d.ts +0 -149
  76. package/nodes/core/NodeFrame.d.ts +0 -17
  77. package/nodes/core/NodeUniform.d.ts +0 -17
  78. package/nodes/core/NodeUtils.d.ts +0 -7
  79. package/nodes/core/TempNode.d.ts +0 -23
  80. package/nodes/core/VarNode.d.ts +0 -12
  81. package/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -21
  82. package/nodes/materials/NodeMaterial.d.ts +0 -28
  83. package/nodes/math/CondNode.d.ts +0 -26
  84. package/nodes/math/MathNode.d.ts +0 -57
  85. package/nodes/math/OperatorNode.d.ts +0 -17
  86. package/nodes/procedural/CheckerNode.d.ts +0 -17
  87. package/nodes/utils/JoinNode.d.ts +0 -15
  88. package/nodes/utils/TimerNode.d.ts +0 -19
  89. package/objects/ReflectorRTT.d.ts +0 -6
@@ -1,57 +0,0 @@
1
- import { TempNode } from '../core/TempNode';
2
- import { NodeBuilder } from '../core/NodeBuilder';
3
- import { Node } from '../core/Node';
4
-
5
- export class MathNode extends TempNode {
6
- constructor(a: Node, bOrMethod: Node | string, cOrMethod?: Node | string, method?: string);
7
-
8
- a: Node;
9
- b: Node | string | undefined;
10
- c: Node | string | undefined;
11
- method: string;
12
- nodeType: string;
13
-
14
- getNumInputs(builder: NodeBuilder): number;
15
- getInputType(builder: NodeBuilder): string;
16
- copy(source: MathNode): this;
17
-
18
- static RAD: string;
19
- static DEG: string;
20
- static EXP: string;
21
- static EXP2: string;
22
- static LOG: string;
23
- static LOG2: string;
24
- static SQRT: string;
25
- static INV_SQRT: string;
26
- static FLOOR: string;
27
- static CEIL: string;
28
- static NORMALIZE: string;
29
- static SATURATE: string;
30
- static SIN: string;
31
- static COS: string;
32
- static TAN: string;
33
- static ASIN: string;
34
- static ACOS: string;
35
- static ARCTAN: string;
36
- static ABS: string;
37
- static SIGN: string;
38
- static LENGTH: string;
39
- static NEGATE: string;
40
- static INVERT: string;
41
-
42
- static MIN: string;
43
- static MAX: string;
44
- static MOD: string;
45
- static STEP: string;
46
- static REFLECT: string;
47
- static DISTANCE: string;
48
- static DOT: string;
49
- static CROSS: string;
50
- static POW: string;
51
-
52
- static MIX: string;
53
- static CLAMP: string;
54
- static REFRACT: string;
55
- static SMOOTHSTEP: string;
56
- static FACEFORWARD: string;
57
- }
@@ -1,17 +0,0 @@
1
- import { TempNode } from '../core/TempNode';
2
- import { Node } from '../core/Node';
3
-
4
- export class OperatorNode extends TempNode {
5
- constructor(a: Node, b: Node, op: string);
6
-
7
- a: Node;
8
- b: Node;
9
- op: string;
10
-
11
- copy(source: OperatorNode): this;
12
-
13
- static ADD: string;
14
- static SUB: string;
15
- static MUL: string;
16
- static DIV: string;
17
- }
@@ -1,17 +0,0 @@
1
- import { TempNode } from '../core/TempNode';
2
- import { FunctionNode } from '../core/FunctionNode';
3
- import { UVNode } from '../accessors/UVNode';
4
- import { UVTransformNode } from '../utils/UVTransformNode';
5
-
6
- export class CheckerNode extends TempNode {
7
- constructor(uv?: UVNode | UVTransformNode);
8
-
9
- uv: UVNode | UVTransformNode;
10
- nodeType: string;
11
-
12
- copy(source: CheckerNode): this;
13
-
14
- static Nodes: {
15
- checker: FunctionNode;
16
- };
17
- }
@@ -1,15 +0,0 @@
1
- import { TempNode } from '../core/TempNode';
2
- import { Node } from '../core/Node';
3
-
4
- export class JoinNode extends TempNode {
5
- constructor(x: Node, y: Node, z?: Node, w?: Node);
6
-
7
- x: Node;
8
- y: Node;
9
- z: Node | undefined;
10
- w: Node | undefined;
11
- nodeType: string;
12
-
13
- getNumElements(): number;
14
- copy(source: JoinNode): this;
15
- }
@@ -1,19 +0,0 @@
1
- import { NodeFrame } from '../core/NodeFrame';
2
- import { FloatNode } from '../inputs/FloatNode';
3
-
4
- export class TimerNode extends FloatNode {
5
- constructor(scale?: number, scope?: string, timeScale?: boolean);
6
-
7
- scale: number;
8
- scope: string;
9
- timeScale: boolean;
10
- nodeType: string;
11
-
12
- getUnique(): boolean;
13
- updateFrame(frame: NodeFrame): void;
14
- copy(source: TimerNode): this;
15
-
16
- static GLOBAL: string;
17
- static LOCAL: string;
18
- static DELTA: string;
19
- }
@@ -1,6 +0,0 @@
1
- import { BufferGeometry } from 'three';
2
- import { Reflector, ReflectorOptions } from './Reflector';
3
-
4
- export class ReflectorRTT extends Reflector {
5
- constructor(geometry?: BufferGeometry, options?: ReflectorOptions);
6
- }