three-stdlib 2.14.3 → 2.15.1
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.
- package/csm/CSM.cjs.js +1 -1
- package/csm/CSM.js +8 -8
- package/csm/CSMFrustum.cjs.js +1 -0
- package/csm/CSMFrustum.d.ts +19 -0
- package/csm/{Frustum.js → CSMFrustum.js} +8 -7
- package/csm/CSMShader.cjs.js +1 -0
- package/csm/CSMShader.d.ts +4 -0
- package/csm/{Shader.js → CSMShader.js} +52 -36
- package/curves/CurveExtras.d.ts +52 -54
- package/geometries/ConvexGeometry.cjs.js +1 -1
- package/geometries/ConvexGeometry.js +1 -1
- package/geometries/ParametricGeometries.cjs.js +1 -1
- package/geometries/ParametricGeometries.js +91 -99
- package/geometries/ParametricGeometry.cjs.js +1 -0
- package/geometries/ParametricGeometry.d.ts +18 -0
- package/geometries/ParametricGeometry.js +87 -0
- package/index.cjs.js +1 -1
- package/index.d.ts +57 -77
- package/index.js +55 -52
- package/interactive/InteractiveGroup.cjs.js +1 -0
- package/interactive/InteractiveGroup.d.ts +5 -0
- package/interactive/InteractiveGroup.js +87 -0
- package/loaders/GLTFLoader.d.ts +2 -9
- package/loaders/LUT3dlLoader.d.ts +2 -2
- package/loaders/LUTCubeLoader.d.ts +2 -2
- package/loaders/VOXLoader.d.ts +2 -2
- package/math/ConvexHull.cjs.js +1 -1
- package/math/ConvexHull.js +639 -603
- package/objects/Reflector.d.ts +1 -0
- package/objects/ReflectorForSSRPass.d.ts +4 -4
- package/objects/Refractor.d.ts +1 -0
- package/objects/Water2.d.ts +1 -1
- package/package.json +2 -1
- package/postprocessing/LUTPass.d.ts +3 -3
- package/postprocessing/SSAARenderPass.d.ts +1 -1
- package/postprocessing/SSRPass.d.ts +3 -3
- package/shaders/BokehShader2.d.ts +27 -72
- package/shaders/BokehShader2.js +0 -1
- package/csm/Frustum.cjs.js +0 -1
- package/csm/Shader.cjs.js +0 -1
- package/loaders/VRMLoader.d.ts +0 -19
- package/nodes/Nodes.d.ts +0 -106
- package/nodes/accessors/CameraNode.d.ts +0 -29
- package/nodes/accessors/NormalNode.d.ts +0 -13
- package/nodes/accessors/PositionNode.d.ts +0 -15
- package/nodes/accessors/ReflectNode.d.ts +0 -12
- package/nodes/accessors/UVNode.d.ts +0 -10
- package/nodes/core/AttributeNode.d.ts +0 -13
- package/nodes/core/ConstNode.d.ts +0 -22
- package/nodes/core/ExpressionNode.d.ts +0 -5
- package/nodes/core/FunctionCallNode.d.ts +0 -17
- package/nodes/core/FunctionNode.d.ts +0 -28
- package/nodes/core/InputNode.d.ts +0 -12
- package/nodes/core/Node.d.ts +0 -34
- package/nodes/core/NodeBuilder.d.ts +0 -149
- package/nodes/core/NodeFrame.d.ts +0 -17
- package/nodes/core/NodeUniform.d.ts +0 -17
- package/nodes/core/NodeUtils.d.ts +0 -7
- package/nodes/core/TempNode.d.ts +0 -23
- package/nodes/core/VarNode.d.ts +0 -12
- package/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -21
- package/nodes/materials/NodeMaterial.d.ts +0 -28
- package/nodes/math/CondNode.d.ts +0 -26
- package/nodes/math/MathNode.d.ts +0 -57
- package/nodes/math/OperatorNode.d.ts +0 -17
- package/nodes/procedural/CheckerNode.d.ts +0 -17
- package/nodes/utils/JoinNode.d.ts +0 -15
- package/nodes/utils/TimerNode.d.ts +0 -19
- package/objects/ReflectorRTT.d.ts +0 -6
- package/shaders/index.cjs.js +0 -1
- package/shaders/index.d.ts +0 -53
- package/shaders/index.js +0 -53
| @@ -1,149 +0,0 @@ | |
| 1 | 
            -
            import { Material, Texture, TextureEncoding, WebGLRenderer } from 'three';
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            import { Node } from './Node';
         | 
| 4 | 
            -
            import { NodeUniform } from './NodeUniform';
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            export class NodeBuilder {
         | 
| 7 | 
            -
                constructor();
         | 
| 8 | 
            -
             | 
| 9 | 
            -
                slots: string[];
         | 
| 10 | 
            -
                caches: string[];
         | 
| 11 | 
            -
                contexts: object[];
         | 
| 12 | 
            -
             | 
| 13 | 
            -
                keywords: object;
         | 
| 14 | 
            -
                nodeData: object;
         | 
| 15 | 
            -
             | 
| 16 | 
            -
                requires: {
         | 
| 17 | 
            -
                    uv: boolean[];
         | 
| 18 | 
            -
                    color: boolean[];
         | 
| 19 | 
            -
                    lights: boolean;
         | 
| 20 | 
            -
                    fog: boolean;
         | 
| 21 | 
            -
                    transparent: boolean;
         | 
| 22 | 
            -
                    irradiance: boolean;
         | 
| 23 | 
            -
                };
         | 
| 24 | 
            -
             | 
| 25 | 
            -
                includes: {
         | 
| 26 | 
            -
                    consts: object[];
         | 
| 27 | 
            -
                    functions: object[];
         | 
| 28 | 
            -
                    structs: object[];
         | 
| 29 | 
            -
                };
         | 
| 30 | 
            -
             | 
| 31 | 
            -
                attributes: object;
         | 
| 32 | 
            -
                prefixCode: string;
         | 
| 33 | 
            -
             | 
| 34 | 
            -
                parsCode: {
         | 
| 35 | 
            -
                    vertex: string;
         | 
| 36 | 
            -
                    fragment: string;
         | 
| 37 | 
            -
                };
         | 
| 38 | 
            -
             | 
| 39 | 
            -
                code: {
         | 
| 40 | 
            -
                    vertex: string;
         | 
| 41 | 
            -
                    fragment: string;
         | 
| 42 | 
            -
                };
         | 
| 43 | 
            -
             | 
| 44 | 
            -
                nodeCode: {
         | 
| 45 | 
            -
                    vertex: string;
         | 
| 46 | 
            -
                    fragment: string;
         | 
| 47 | 
            -
                };
         | 
| 48 | 
            -
             | 
| 49 | 
            -
                resultCode: {
         | 
| 50 | 
            -
                    vertex: string;
         | 
| 51 | 
            -
                    fragment: string;
         | 
| 52 | 
            -
                };
         | 
| 53 | 
            -
             | 
| 54 | 
            -
                finalCode: {
         | 
| 55 | 
            -
                    vertex: string;
         | 
| 56 | 
            -
                    fragment: string;
         | 
| 57 | 
            -
                };
         | 
| 58 | 
            -
             | 
| 59 | 
            -
                inputs: {
         | 
| 60 | 
            -
                    uniforms: {
         | 
| 61 | 
            -
                        list: object[];
         | 
| 62 | 
            -
                        vertex: object[];
         | 
| 63 | 
            -
                        fragment: object[];
         | 
| 64 | 
            -
                    };
         | 
| 65 | 
            -
                    vars: {
         | 
| 66 | 
            -
                        varying: object[];
         | 
| 67 | 
            -
                        vertex: object[];
         | 
| 68 | 
            -
                        fragment: object[];
         | 
| 69 | 
            -
                    };
         | 
| 70 | 
            -
                };
         | 
| 71 | 
            -
             | 
| 72 | 
            -
                defines: object;
         | 
| 73 | 
            -
                uniforms: object;
         | 
| 74 | 
            -
                extensions: object;
         | 
| 75 | 
            -
                updaters: object[];
         | 
| 76 | 
            -
                nodes: object[];
         | 
| 77 | 
            -
             | 
| 78 | 
            -
                analyzing: boolean;
         | 
| 79 | 
            -
             | 
| 80 | 
            -
                build(vertex: Node, fragment: Node): this;
         | 
| 81 | 
            -
                buildShader(shader: string, node: Node): void;
         | 
| 82 | 
            -
                setMaterial(material: Material, renderer: WebGLRenderer): this;
         | 
| 83 | 
            -
                addFlow(slot: string, cache?: string, context?: object): this;
         | 
| 84 | 
            -
                removeFlow(): this;
         | 
| 85 | 
            -
                addCache(name: string): this;
         | 
| 86 | 
            -
                removeCache(): this;
         | 
| 87 | 
            -
                addContext(context: object): this;
         | 
| 88 | 
            -
                removeContext(): this;
         | 
| 89 | 
            -
                addSlot(name: string): this;
         | 
| 90 | 
            -
                removeSlot(): this;
         | 
| 91 | 
            -
                addVertexCode(code: string): void;
         | 
| 92 | 
            -
                addFragmentCode(code: string): void;
         | 
| 93 | 
            -
                addCode(code: string, shader?: string): void;
         | 
| 94 | 
            -
                addVertexNodeCode(code: string): void;
         | 
| 95 | 
            -
                addFragmentNodeCode(code: string): void;
         | 
| 96 | 
            -
                addNodeCode(code: string, shader?: string): void;
         | 
| 97 | 
            -
                clearNodeCode(shader: string): string;
         | 
| 98 | 
            -
                clearVertexNodeCode(): string;
         | 
| 99 | 
            -
                clearFragmentNodeCode(): string;
         | 
| 100 | 
            -
                addVertexFinalCode(code: string): void;
         | 
| 101 | 
            -
                addFragmentFinalCode(code: string): void;
         | 
| 102 | 
            -
                addFinalCode(code: string, shader?: string): void;
         | 
| 103 | 
            -
                addVertexParsCode(code: string): void;
         | 
| 104 | 
            -
                addFragmentParsCode(code: string): void;
         | 
| 105 | 
            -
                addParsCode(code: string, shader?: string): void;
         | 
| 106 | 
            -
                addVaryCode(code: string): void;
         | 
| 107 | 
            -
                isCache(name: string): boolean;
         | 
| 108 | 
            -
                isSlot(name: string): boolean;
         | 
| 109 | 
            -
                define(name: string, value: any): void;
         | 
| 110 | 
            -
                isDefined(name: string): boolean;
         | 
| 111 | 
            -
                getVar(uuid: string, type: string, ns: string, labelOrShader?: string, prefix?: string, label?: string): object;
         | 
| 112 | 
            -
                getAttribute(name: string, type: string): any;
         | 
| 113 | 
            -
                getCode(shader: string): string;
         | 
| 114 | 
            -
                getVarListCode(vars: object[], prefix?: string): string;
         | 
| 115 | 
            -
                getVars(shader: string): object[];
         | 
| 116 | 
            -
                getNodeData(node: Node): object;
         | 
| 117 | 
            -
                createUniform(
         | 
| 118 | 
            -
                    shader: string,
         | 
| 119 | 
            -
                    type: string,
         | 
| 120 | 
            -
                    node: Node,
         | 
| 121 | 
            -
                    ns?: string,
         | 
| 122 | 
            -
                    needsUpdate?: boolean,
         | 
| 123 | 
            -
                    label?: string,
         | 
| 124 | 
            -
                ): NodeUniform;
         | 
| 125 | 
            -
                createVertexUniform(type: string, node: Node, ns?: string, needsUpdate?: boolean, label?: string): NodeUniform;
         | 
| 126 | 
            -
                createFragmentUniform(type: string, node: Node, ns?: string, needsUpdate?: boolean, label?: string): NodeUniform;
         | 
| 127 | 
            -
                include(node: Node, parent?: boolean, source?: string): void;
         | 
| 128 | 
            -
                colorToVectorProperties(color: string): string;
         | 
| 129 | 
            -
                colorToVector(color: string): string;
         | 
| 130 | 
            -
                getIncludes(type: string, shader: string): object[];
         | 
| 131 | 
            -
                getIncludesCode(type: string, shader: string): string;
         | 
| 132 | 
            -
                getConstructorFromLength(len: number): string;
         | 
| 133 | 
            -
                isTypeMatrix(format: string): boolean;
         | 
| 134 | 
            -
                getTypeLength(type: string): number;
         | 
| 135 | 
            -
                getTypeFromLength(len: number): string;
         | 
| 136 | 
            -
                findNode(): Node;
         | 
| 137 | 
            -
                resolve(): void;
         | 
| 138 | 
            -
                format(code: string, from: string, to: string): string;
         | 
| 139 | 
            -
                getTypeByFormat(format: string): string;
         | 
| 140 | 
            -
                getFormatByType(type: string): string;
         | 
| 141 | 
            -
                getUuid(uuid: string, useCache?: boolean): string;
         | 
| 142 | 
            -
                getElementByIndex(index: number): string;
         | 
| 143 | 
            -
                getIndexByElement(elm: string): number;
         | 
| 144 | 
            -
                isShader(shader: string): boolean;
         | 
| 145 | 
            -
                setShader(shader: string): this;
         | 
| 146 | 
            -
                mergeDefines(defines: object): object;
         | 
| 147 | 
            -
                mergeUniform(uniforms: object): object;
         | 
| 148 | 
            -
                getTextureEncodingFromMap(map: Texture): TextureEncoding;
         | 
| 149 | 
            -
            }
         | 
| @@ -1,17 +0,0 @@ | |
| 1 | 
            -
            import { Texture, WebGLRenderer } from 'three';
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            import { Node } from './Node';
         | 
| 4 | 
            -
             | 
| 5 | 
            -
            export class NodeFrame {
         | 
| 6 | 
            -
                constructor(time: number);
         | 
| 7 | 
            -
                time: number;
         | 
| 8 | 
            -
                id: number;
         | 
| 9 | 
            -
                delta: number | undefined;
         | 
| 10 | 
            -
                renderer: WebGLRenderer | undefined;
         | 
| 11 | 
            -
                renderTexture: Texture | undefined;
         | 
| 12 | 
            -
             | 
| 13 | 
            -
                update(delta: number): this;
         | 
| 14 | 
            -
                setRenderer(renderer: WebGLRenderer): this;
         | 
| 15 | 
            -
                setRenderTexture(renderTexture: Texture): this;
         | 
| 16 | 
            -
                updateNode(node: Node): this;
         | 
| 17 | 
            -
            }
         | 
| @@ -1,17 +0,0 @@ | |
| 1 | 
            -
            import { Node } from './Node';
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            export interface NodeUniformParams {
         | 
| 4 | 
            -
                name?: string;
         | 
| 5 | 
            -
                type?: string;
         | 
| 6 | 
            -
                node?: Node;
         | 
| 7 | 
            -
                needsUpdate?: boolean;
         | 
| 8 | 
            -
            }
         | 
| 9 | 
            -
             | 
| 10 | 
            -
            export class NodeUniform {
         | 
| 11 | 
            -
                constructor(params?: NodeUniformParams);
         | 
| 12 | 
            -
                name: string | undefined;
         | 
| 13 | 
            -
                type: string | undefined;
         | 
| 14 | 
            -
                node: Node | undefined;
         | 
| 15 | 
            -
                needsUpdate: boolean | undefined;
         | 
| 16 | 
            -
                value: any;
         | 
| 17 | 
            -
            }
         | 
    
        package/nodes/core/TempNode.d.ts
    DELETED
    
    | @@ -1,23 +0,0 @@ | |
| 1 | 
            -
            import { Node } from './Node';
         | 
| 2 | 
            -
            import { NodeBuilder } from './NodeBuilder';
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            export interface TempNodeParams {
         | 
| 5 | 
            -
                shared?: boolean;
         | 
| 6 | 
            -
                unique?: boolean;
         | 
| 7 | 
            -
            }
         | 
| 8 | 
            -
             | 
| 9 | 
            -
            export class TempNode extends Node {
         | 
| 10 | 
            -
                constructor(type: string, params?: TempNodeParams);
         | 
| 11 | 
            -
             | 
| 12 | 
            -
                shared: boolean;
         | 
| 13 | 
            -
                unique: boolean;
         | 
| 14 | 
            -
                label: string | undefined;
         | 
| 15 | 
            -
             | 
| 16 | 
            -
                build(builder: NodeBuilder, output: string, uuid?: string, ns?: string): string;
         | 
| 17 | 
            -
                getShared(builder: NodeBuilder, output: string): boolean;
         | 
| 18 | 
            -
                getUnique(builder: NodeBuilder, output: string): boolean;
         | 
| 19 | 
            -
                setLabel(name: string): this;
         | 
| 20 | 
            -
                getLabel(builder: NodeBuilder): string;
         | 
| 21 | 
            -
                getUuid(unique: boolean): string;
         | 
| 22 | 
            -
                getTemp(builder: NodeBuilder, uuid: string): string | undefined;
         | 
| 23 | 
            -
            }
         | 
    
        package/nodes/core/VarNode.d.ts
    DELETED
    
    | @@ -1,12 +0,0 @@ | |
| 1 | 
            -
            import { Node } from './Node';
         | 
| 2 | 
            -
            import { NodeBuilder } from './NodeBuilder';
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            export class VarNode extends Node {
         | 
| 5 | 
            -
                constructor(type: string, value?: any);
         | 
| 6 | 
            -
             | 
| 7 | 
            -
                value: any;
         | 
| 8 | 
            -
                nodeType: string;
         | 
| 9 | 
            -
             | 
| 10 | 
            -
                getType(builder: NodeBuilder): string;
         | 
| 11 | 
            -
                copy(source: VarNode): this;
         | 
| 12 | 
            -
            }
         | 
| @@ -1,21 +0,0 @@ | |
| 1 | 
            -
            import { Color } from '../../../../src/math/Color';
         | 
| 2 | 
            -
            import { Texture } from '../../../../src/textures/Texture';
         | 
| 3 | 
            -
            import { CubeTexture } from '../../../../src/textures/CubeTexture';
         | 
| 4 | 
            -
            import { Vector2 } from '../../../../src/math/Vector2';
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            import { Node } from '../core/Node';
         | 
| 7 | 
            -
            import { NodeMaterial } from './NodeMaterial';
         | 
| 8 | 
            -
             | 
| 9 | 
            -
            export class MeshStandardNodeMaterial extends NodeMaterial {
         | 
| 10 | 
            -
                constructor();
         | 
| 11 | 
            -
             | 
| 12 | 
            -
                color: Color | Node;
         | 
| 13 | 
            -
                roughness: number | Node;
         | 
| 14 | 
            -
                metalness: number | Node;
         | 
| 15 | 
            -
                map: Texture | Node;
         | 
| 16 | 
            -
                normalMap: Texture | Node;
         | 
| 17 | 
            -
                normalScale: Vector2 | Node;
         | 
| 18 | 
            -
                metalnessMap: Texture | Node;
         | 
| 19 | 
            -
                roughnessMap: Texture | Node;
         | 
| 20 | 
            -
                envMap: CubeTexture | Node;
         | 
| 21 | 
            -
            }
         | 
| @@ -1,28 +0,0 @@ | |
| 1 | 
            -
            import { ShaderMaterial, WebGLRenderer } from 'three';
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            import { Node } from '../core/Node.js';
         | 
| 4 | 
            -
            import { NodeBuilder } from '../core/NodeBuilder';
         | 
| 5 | 
            -
            import { NodeFrame } from '../core/NodeFrame';
         | 
| 6 | 
            -
            import { RawNode } from './nodes/RawNode';
         | 
| 7 | 
            -
             | 
| 8 | 
            -
            export interface NodeMaterialBuildParams {
         | 
| 9 | 
            -
                builder?: NodeBuilder;
         | 
| 10 | 
            -
                renderer?: WebGLRenderer;
         | 
| 11 | 
            -
            }
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            export class NodeMaterial extends ShaderMaterial {
         | 
| 14 | 
            -
                constructor(vertex: Node, fragment: Node);
         | 
| 15 | 
            -
             | 
| 16 | 
            -
                vertex: Node | RawNode;
         | 
| 17 | 
            -
                fragment: Node | RawNode;
         | 
| 18 | 
            -
             | 
| 19 | 
            -
                updaters: object[];
         | 
| 20 | 
            -
             | 
| 21 | 
            -
                readonly isNodeMaterial: true;
         | 
| 22 | 
            -
                properties: object;
         | 
| 23 | 
            -
             | 
| 24 | 
            -
                updateFrame(frame: NodeFrame): void;
         | 
| 25 | 
            -
                build(params?: NodeMaterialBuildParams): this;
         | 
| 26 | 
            -
                getHash(): string;
         | 
| 27 | 
            -
                copy(source: NodeMaterial): this;
         | 
| 28 | 
            -
            }
         | 
    
        package/nodes/math/CondNode.d.ts
    DELETED
    
    | @@ -1,26 +0,0 @@ | |
| 1 | 
            -
            import { TempNode } from '../core/TempNode';
         | 
| 2 | 
            -
            import { NodeBuilder } from '../core/NodeBuilder';
         | 
| 3 | 
            -
            import { Node } from '../core/Node';
         | 
| 4 | 
            -
             | 
| 5 | 
            -
            export class CondNode extends TempNode {
         | 
| 6 | 
            -
                constructor(a: Node, b: Node, op: string, ifNode?: Node, elseNode?: Node);
         | 
| 7 | 
            -
             | 
| 8 | 
            -
                a: Node;
         | 
| 9 | 
            -
                b: Node;
         | 
| 10 | 
            -
                op: string;
         | 
| 11 | 
            -
                ifNode: Node | undefined;
         | 
| 12 | 
            -
                elseNode: Node | undefined;
         | 
| 13 | 
            -
                nodeType: string;
         | 
| 14 | 
            -
             | 
| 15 | 
            -
                getCondType(builder: NodeBuilder): string;
         | 
| 16 | 
            -
                copy(source: CondNode): this;
         | 
| 17 | 
            -
             | 
| 18 | 
            -
                static EQUAL: string;
         | 
| 19 | 
            -
                static NOT_EQUAL: string;
         | 
| 20 | 
            -
                static GREATER: string;
         | 
| 21 | 
            -
                static GREATER_EQUAL: string;
         | 
| 22 | 
            -
                static LESS: string;
         | 
| 23 | 
            -
                static LESS_EQUAL: string;
         | 
| 24 | 
            -
                static AND: string;
         | 
| 25 | 
            -
                static OR: string;
         | 
| 26 | 
            -
            }
         | 
    
        package/nodes/math/MathNode.d.ts
    DELETED
    
    | @@ -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 | 
            -
            }
         | 
    
        package/shaders/index.cjs.js
    DELETED
    
    | @@ -1 +0,0 @@ | |
| 1 | 
            -
            "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./ACESFilmicToneMappingShader.cjs.js"),r=require("./AfterimageShader.cjs.js"),a=require("./BasicShader.cjs.js"),S=require("./BleachBypassShader.cjs.js"),h=require("./BlendShader.cjs.js"),s=require("./BokehShader.cjs.js"),o=require("./BokehShader2.cjs.js"),d=require("./BrightnessContrastShader.cjs.js"),t=require("./ColorCorrectionShader.cjs.js"),i=require("./ColorifyShader.cjs.js"),p=require("./ConvolutionShader.cjs.js"),j=require("./CopyShader.cjs.js"),c=require("./DOFMipMapShader.cjs.js"),u=require("./DepthLimitedBlurShader.cjs.js"),l=require("./DigitalGlitch.cjs.js"),n=require("./DotScreenShader.cjs.js"),x=require("./FXAAShader.cjs.js"),q=require("./FilmShader.cjs.js"),B=require("./FocusShader.cjs.js"),A=require("./FreiChenShader.cjs.js"),m=require("./FresnelShader.cjs.js"),g=require("./GammaCorrectionShader.cjs.js"),C=require("./GodRaysShader.cjs.js"),M=require("./HalftoneShader.cjs.js"),R=require("./HorizontalBlurShader.cjs.js"),T=require("./HorizontalTiltShiftShader.cjs.js"),f=require("./HueSaturationShader.cjs.js"),y=require("./KaleidoShader.cjs.js"),D=require("./LuminosityHighPassShader.cjs.js"),F=require("./LuminosityShader.cjs.js"),G=require("./MirrorShader.cjs.js"),H=require("./NormalMapShader.cjs.js"),O=require("./ParallaxShader.cjs.js"),k=require("./PixelShader.cjs.js"),V=require("./RGBShiftShader.cjs.js"),P=require("./SAOShader.cjs.js"),b=require("./SMAAShader.cjs.js"),L=require("./SSAOShader.cjs.js"),z=require("./SSRShader.cjs.js"),v=require("./SepiaShader.cjs.js"),E=require("./SobelOperatorShader.cjs.js"),U=require("./SubsurfaceScatteringShader.cjs.js"),W=require("./TechnicolorShader.cjs.js"),K=require("./ToneMapShader.cjs.js"),N=require("./ToonShader.cjs.js"),X=require("./TriangleBlurShader.cjs.js"),_=require("./UnpackDepthRGBAShader.cjs.js"),w=require("./VerticalBlurShader.cjs.js"),I=require("./VerticalTiltShiftShader.cjs.js"),J=require("./VignetteShader.cjs.js"),Q=require("./VolumeShader.cjs.js"),Y=require("./WaterRefractionShader.cjs.js");require("three"),exports.ACESFilmicToneMappingShader=e.ACESFilmicToneMappingShader,exports.AfterimageShader=r.AfterimageShader,exports.BasicShader=a.BasicShader,exports.BleachBypassShader=S.BleachBypassShader,exports.BlendShader=h.BlendShader,exports.BokehShader=s.BokehShader,exports.BokehDepthShader=o.BokehDepthShader,exports.BokehShader2=o.BokehShader2,exports.BrightnessContrastShader=d.BrightnessContrastShader,exports.ColorCorrectionShader=t.ColorCorrectionShader,exports.ColorifyShader=i.ColorifyShader,exports.ConvolutionShader=p.ConvolutionShader,exports.CopyShader=j.CopyShader,exports.DOFMipMapShader=c.DOFMipMapShader,exports.BlurShaderUtils=u.BlurShaderUtils,exports.DepthLimitedBlurShader=u.DepthLimitedBlurShader,exports.DigitalGlitch=l.DigitalGlitch,exports.DotScreenShader=n.DotScreenShader,exports.FXAAShader=x.FXAAShader,exports.FilmShader=q.FilmShader,exports.FocusShader=B.FocusShader,exports.FreiChenShader=A.FreiChenShader,exports.FresnelShader=m.FresnelShader,exports.GammaCorrectionShader=g.GammaCorrectionShader,exports.GodRaysCombineShader=C.GodRaysCombineShader,exports.GodRaysDepthMaskShader=C.GodRaysDepthMaskShader,exports.GodRaysFakeSunShader=C.GodRaysFakeSunShader,exports.GodRaysGenerateShader=C.GodRaysGenerateShader,exports.HalftoneShader=M.HalftoneShader,exports.HorizontalBlurShader=R.HorizontalBlurShader,exports.HorizontalTiltShiftShader=T.HorizontalTiltShiftShader,exports.HueSaturationShader=f.HueSaturationShader,exports.KaleidoShader=y.KaleidoShader,exports.LuminosityHighPassShader=D.LuminosityHighPassShader,exports.LuminosityShader=F.LuminosityShader,exports.MirrorShader=G.MirrorShader,exports.NormalMapShader=H.NormalMapShader,exports.ParallaxShader=O.ParallaxShader,exports.PixelShader=k.PixelShader,exports.RGBShiftShader=V.RGBShiftShader,exports.SAOShader=P.SAOShader,exports.SMAABlendShader=b.SMAABlendShader,exports.SMAAEdgesShader=b.SMAAEdgesShader,exports.SMAAWeightsShader=b.SMAAWeightsShader,exports.SSAOBlurShader=L.SSAOBlurShader,exports.SSAODepthShader=L.SSAODepthShader,exports.SSAOShader=L.SSAOShader,exports.SSRBlurShader=z.SSRBlurShader,exports.SSRDepthShader=z.SSRDepthShader,exports.SSRShader=z.SSRShader,exports.SepiaShader=v.SepiaShader,exports.SobelOperatorShader=E.SobelOperatorShader,exports.SubsurfaceScatteringShader=U.SubsurfaceScatteringShader,exports.TechnicolorShader=W.TechnicolorShader,exports.ToneMapShader=K.ToneMapShader,exports.ToonShader1=N.ToonShader1,exports.ToonShader2=N.ToonShader2,exports.ToonShaderDotted=N.ToonShaderDotted,exports.ToonShaderHatching=N.ToonShaderHatching,exports.TriangleBlurShader=X.TriangleBlurShader,exports.UnpackDepthRGBAShader=_.UnpackDepthRGBAShader,exports.VerticalBlurShader=w.VerticalBlurShader,exports.VerticalTiltShiftShader=I.VerticalTiltShiftShader,exports.VignetteShader=J.VignetteShader,exports.VolumeRenderShader1=Q.VolumeRenderShader1,exports.WaterRefractionShader=Y.WaterRefractionShader;
         | 
    
        package/shaders/index.d.ts
    DELETED
    
    | @@ -1,53 +0,0 @@ | |
| 1 | 
            -
            export * from './types';
         | 
| 2 | 
            -
            export * from './ACESFilmicToneMappingShader';
         | 
| 3 | 
            -
            export * from './AfterimageShader';
         | 
| 4 | 
            -
            export * from './BasicShader';
         | 
| 5 | 
            -
            export * from './BleachBypassShader';
         | 
| 6 | 
            -
            export * from './BlendShader';
         | 
| 7 | 
            -
            export * from './BokehShader';
         | 
| 8 | 
            -
            export * from './BokehShader2';
         | 
| 9 | 
            -
            export * from './BrightnessContrastShader';
         | 
| 10 | 
            -
            export * from './ColorCorrectionShader';
         | 
| 11 | 
            -
            export * from './ColorifyShader';
         | 
| 12 | 
            -
            export * from './ConvolutionShader';
         | 
| 13 | 
            -
            export * from './CopyShader';
         | 
| 14 | 
            -
            export * from './DOFMipMapShader';
         | 
| 15 | 
            -
            export * from './DepthLimitedBlurShader';
         | 
| 16 | 
            -
            export * from './DigitalGlitch';
         | 
| 17 | 
            -
            export * from './DotScreenShader';
         | 
| 18 | 
            -
            export * from './FXAAShader';
         | 
| 19 | 
            -
            export * from './FilmShader';
         | 
| 20 | 
            -
            export * from './FocusShader';
         | 
| 21 | 
            -
            export * from './FreiChenShader';
         | 
| 22 | 
            -
            export * from './FresnelShader';
         | 
| 23 | 
            -
            export * from './GammaCorrectionShader';
         | 
| 24 | 
            -
            export * from './GodRaysShader';
         | 
| 25 | 
            -
            export * from './HalftoneShader';
         | 
| 26 | 
            -
            export * from './HorizontalBlurShader';
         | 
| 27 | 
            -
            export * from './HorizontalTiltShiftShader';
         | 
| 28 | 
            -
            export * from './HueSaturationShader';
         | 
| 29 | 
            -
            export * from './KaleidoShader';
         | 
| 30 | 
            -
            export * from './LuminosityHighPassShader';
         | 
| 31 | 
            -
            export * from './LuminosityShader';
         | 
| 32 | 
            -
            export * from './MirrorShader';
         | 
| 33 | 
            -
            export * from './NormalMapShader';
         | 
| 34 | 
            -
            export * from './ParallaxShader';
         | 
| 35 | 
            -
            export * from './PixelShader';
         | 
| 36 | 
            -
            export * from './RGBShiftShader';
         | 
| 37 | 
            -
            export * from './SAOShader';
         | 
| 38 | 
            -
            export * from './SMAAShader';
         | 
| 39 | 
            -
            export * from './SSAOShader';
         | 
| 40 | 
            -
            export * from './SSRShader';
         | 
| 41 | 
            -
            export * from './SepiaShader';
         | 
| 42 | 
            -
            export * from './SobelOperatorShader';
         | 
| 43 | 
            -
            export * from './SubsurfaceScatteringShader';
         | 
| 44 | 
            -
            export * from './TechnicolorShader';
         | 
| 45 | 
            -
            export * from './ToneMapShader';
         | 
| 46 | 
            -
            export * from './ToonShader';
         | 
| 47 | 
            -
            export * from './TriangleBlurShader';
         | 
| 48 | 
            -
            export * from './UnpackDepthRGBAShader';
         | 
| 49 | 
            -
            export * from './VerticalBlurShader';
         | 
| 50 | 
            -
            export * from './VerticalTiltShiftShader';
         | 
| 51 | 
            -
            export * from './VignetteShader';
         | 
| 52 | 
            -
            export * from './VolumeShader';
         | 
| 53 | 
            -
            export * from './WaterRefractionShader';
         | 
    
        package/shaders/index.js
    DELETED
    
    | @@ -1,53 +0,0 @@ | |
| 1 | 
            -
            export { ACESFilmicToneMappingShader } from './ACESFilmicToneMappingShader.js';
         | 
| 2 | 
            -
            export { AfterimageShader } from './AfterimageShader.js';
         | 
| 3 | 
            -
            export { BasicShader } from './BasicShader.js';
         | 
| 4 | 
            -
            export { BleachBypassShader } from './BleachBypassShader.js';
         | 
| 5 | 
            -
            export { BlendShader } from './BlendShader.js';
         | 
| 6 | 
            -
            export { BokehShader } from './BokehShader.js';
         | 
| 7 | 
            -
            export { BokehDepthShader, BokehShader2 } from './BokehShader2.js';
         | 
| 8 | 
            -
            export { BrightnessContrastShader } from './BrightnessContrastShader.js';
         | 
| 9 | 
            -
            export { ColorCorrectionShader } from './ColorCorrectionShader.js';
         | 
| 10 | 
            -
            export { ColorifyShader } from './ColorifyShader.js';
         | 
| 11 | 
            -
            export { ConvolutionShader } from './ConvolutionShader.js';
         | 
| 12 | 
            -
            export { CopyShader } from './CopyShader.js';
         | 
| 13 | 
            -
            export { DOFMipMapShader } from './DOFMipMapShader.js';
         | 
| 14 | 
            -
            export { BlurShaderUtils, DepthLimitedBlurShader } from './DepthLimitedBlurShader.js';
         | 
| 15 | 
            -
            export { DigitalGlitch } from './DigitalGlitch.js';
         | 
| 16 | 
            -
            export { DotScreenShader } from './DotScreenShader.js';
         | 
| 17 | 
            -
            export { FXAAShader } from './FXAAShader.js';
         | 
| 18 | 
            -
            export { FilmShader } from './FilmShader.js';
         | 
| 19 | 
            -
            export { FocusShader } from './FocusShader.js';
         | 
| 20 | 
            -
            export { FreiChenShader } from './FreiChenShader.js';
         | 
| 21 | 
            -
            export { FresnelShader } from './FresnelShader.js';
         | 
| 22 | 
            -
            export { GammaCorrectionShader } from './GammaCorrectionShader.js';
         | 
| 23 | 
            -
            export { GodRaysCombineShader, GodRaysDepthMaskShader, GodRaysFakeSunShader, GodRaysGenerateShader } from './GodRaysShader.js';
         | 
| 24 | 
            -
            export { HalftoneShader } from './HalftoneShader.js';
         | 
| 25 | 
            -
            export { HorizontalBlurShader } from './HorizontalBlurShader.js';
         | 
| 26 | 
            -
            export { HorizontalTiltShiftShader } from './HorizontalTiltShiftShader.js';
         | 
| 27 | 
            -
            export { HueSaturationShader } from './HueSaturationShader.js';
         | 
| 28 | 
            -
            export { KaleidoShader } from './KaleidoShader.js';
         | 
| 29 | 
            -
            export { LuminosityHighPassShader } from './LuminosityHighPassShader.js';
         | 
| 30 | 
            -
            export { LuminosityShader } from './LuminosityShader.js';
         | 
| 31 | 
            -
            export { MirrorShader } from './MirrorShader.js';
         | 
| 32 | 
            -
            export { NormalMapShader } from './NormalMapShader.js';
         | 
| 33 | 
            -
            export { ParallaxShader } from './ParallaxShader.js';
         | 
| 34 | 
            -
            export { PixelShader } from './PixelShader.js';
         | 
| 35 | 
            -
            export { RGBShiftShader } from './RGBShiftShader.js';
         | 
| 36 | 
            -
            export { SAOShader } from './SAOShader.js';
         | 
| 37 | 
            -
            export { SMAABlendShader, SMAAEdgesShader, SMAAWeightsShader } from './SMAAShader.js';
         | 
| 38 | 
            -
            export { SSAOBlurShader, SSAODepthShader, SSAOShader } from './SSAOShader.js';
         | 
| 39 | 
            -
            export { SSRBlurShader, SSRDepthShader, SSRShader } from './SSRShader.js';
         | 
| 40 | 
            -
            export { SepiaShader } from './SepiaShader.js';
         | 
| 41 | 
            -
            export { SobelOperatorShader } from './SobelOperatorShader.js';
         | 
| 42 | 
            -
            export { SubsurfaceScatteringShader } from './SubsurfaceScatteringShader.js';
         | 
| 43 | 
            -
            export { TechnicolorShader } from './TechnicolorShader.js';
         | 
| 44 | 
            -
            export { ToneMapShader } from './ToneMapShader.js';
         | 
| 45 | 
            -
            export { ToonShader1, ToonShader2, ToonShaderDotted, ToonShaderHatching } from './ToonShader.js';
         | 
| 46 | 
            -
            export { TriangleBlurShader } from './TriangleBlurShader.js';
         | 
| 47 | 
            -
            export { UnpackDepthRGBAShader } from './UnpackDepthRGBAShader.js';
         | 
| 48 | 
            -
            export { VerticalBlurShader } from './VerticalBlurShader.js';
         | 
| 49 | 
            -
            export { VerticalTiltShiftShader } from './VerticalTiltShiftShader.js';
         | 
| 50 | 
            -
            export { VignetteShader } from './VignetteShader.js';
         | 
| 51 | 
            -
            export { VolumeRenderShader1 } from './VolumeShader.js';
         | 
| 52 | 
            -
            export { WaterRefractionShader } from './WaterRefractionShader.js';
         | 
| 53 | 
            -
            import 'three';
         |