diff --git a/src/Three.TSL.js b/src/Three.TSL.js index e616ff4e8db086..635358e7fbb500 100644 --- a/src/Three.TSL.js +++ b/src/Three.TSL.js @@ -310,7 +310,6 @@ export const mx_worley_noise_vec2 = TSL.mx_worley_noise_vec2; export const mx_worley_noise_vec3 = TSL.mx_worley_noise_vec3; export const negate = TSL.negate; export const neutralToneMapping = TSL.neutralToneMapping; -export const next = TSL.next; export const nodeArray = TSL.nodeArray; export const nodeImmutable = TSL.nodeImmutable; export const nodeObject = TSL.nodeObject; diff --git a/src/nodes/Nodes.js b/src/nodes/Nodes.js index cd42bfac0a75bd..3802ae29173d69 100644 --- a/src/nodes/Nodes.js +++ b/src/nodes/Nodes.js @@ -30,7 +30,6 @@ export { default as UniformNode } from './core/UniformNode.js'; export { default as VaryingNode } from './core/VaryingNode.js'; export { default as OutputStructNode } from './core/OutputStructNode.js'; export { default as MRTNode } from './core/MRTNode.js'; -export { default as NextNode } from './core/NextNode.js'; import * as NodeUtils from './core/NodeUtils.js'; export { NodeUtils }; diff --git a/src/nodes/core/NextNode.js b/src/nodes/core/NextNode.js deleted file mode 100644 index a6ca08ed7fc1d1..00000000000000 --- a/src/nodes/core/NextNode.js +++ /dev/null @@ -1,43 +0,0 @@ -import Node from './Node.js'; -import { addMethodChaining, nodeObject, nodeProxy } from '../tsl/TSLCore.js'; - -/** - * Class for representing a uniform. - * - * @augments Node - */ -class NextNode extends Node { - - static get type() { - - return 'NextNode'; - - } - - constructor( parentNode, nextNode ) { - - super( 'void' ); - - this.isUniformNode = true; - - this.parentNode = parentNode; - this.nextNode = nextNode; - - } - - setup( builder ) { - - this.parentNode.build( builder ); - - return this.nextNode; - - } - -} - -export default NextNode; - -export const next = /*@__PURE__*/ nodeProxy( NextNode ); - -addMethodChaining( 'next', next ); - diff --git a/src/nodes/tsl/TSLBase.js b/src/nodes/tsl/TSLBase.js index 424974b8fda009..4985ab6426e393 100644 --- a/src/nodes/tsl/TSLBase.js +++ b/src/nodes/tsl/TSLBase.js @@ -22,7 +22,6 @@ export * from '../utils/RemapNode.js'; // .remap(), .remapClamp() export * from '../code/ExpressionNode.js'; // expression() export * from '../utils/Discard.js'; // Discard(), Return() export * from '../display/RenderOutputNode.js'; // .renderOutput() -export * from '../core/NextNode.js'; // .next() export function addNodeElement( name/*, nodeElement*/ ) {