11import TempNode from '../core/TempNode.js' ;
2- import { sub , mul , div , mod , equal } from './OperatorNode.js' ;
2+ import { sub , mul , div , mod } from './OperatorNode.js' ;
33import { addMethodChaining , nodeObject , nodeProxyIntent , float , vec2 , vec3 , vec4 , Fn } from '../tsl/TSLCore.js' ;
44import { WebGLCoordinateSystem , WebGPUCoordinateSystem } from '../../constants.js' ;
55import { warn } from '../../utils.js' ;
@@ -784,23 +784,6 @@ export const inverse = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.INVERSE
784784
785785// 2 inputs
786786
787- /**
788- * Returns `true` if `x` equals `y`.
789- *
790- * @tsl
791- * @function
792- * @param {Node | number } x - The first parameter.
793- * @param {Node | number } y - The second parameter.
794- * @deprecated since r175. Use {@link equal} instead.
795- * @returns {Node<bool> }
796- */
797- export const equals = ( x , y ) => { // @deprecated , r172
798-
799- warn ( 'TSL: "equals" is deprecated. Use "equal" inside a vector instead, like: "bvec*( equal( ... ) )"' ) ;
800- return equal ( x , y ) ;
801-
802- } ;
803-
804787/**
805788 * Returns the least of the given values.
806789 *
@@ -1081,24 +1064,6 @@ export const smoothstepElement = ( x, low, high ) => smoothstep( low, high, x );
10811064 */
10821065export const stepElement = ( x , edge ) => step ( edge , x ) ;
10831066
1084- /**
1085- * Returns the arc-tangent of the quotient of its parameters.
1086- *
1087- * @tsl
1088- * @function
1089- * @deprecated since r172. Use {@link atan} instead.
1090- *
1091- * @param {Node | number } y - The y parameter.
1092- * @param {Node | number } x - The x parameter.
1093- * @returns {Node }
1094- */
1095- export const atan2 = ( y , x ) => { // @deprecated , r172
1096-
1097- warn ( 'TSL: "atan2" is overloaded. Use "atan" instead.' ) ;
1098- return atan ( y , x ) ;
1099-
1100- } ;
1101-
11021067// GLSL alias function
11031068
11041069export const faceforward = faceForward ;
@@ -1108,7 +1073,6 @@ export const inversesqrt = inverseSqrt;
11081073
11091074addMethodChaining ( 'all' , all ) ;
11101075addMethodChaining ( 'any' , any ) ;
1111- addMethodChaining ( 'equals' , equals ) ;
11121076
11131077addMethodChaining ( 'radians' , radians ) ;
11141078addMethodChaining ( 'degrees' , degrees ) ;
@@ -1140,7 +1104,6 @@ addMethodChaining( 'round', round );
11401104addMethodChaining ( 'reciprocal' , reciprocal ) ;
11411105addMethodChaining ( 'trunc' , trunc ) ;
11421106addMethodChaining ( 'fwidth' , fwidth ) ;
1143- addMethodChaining ( 'atan2' , atan2 ) ;
11441107addMethodChaining ( 'min' , min ) ;
11451108addMethodChaining ( 'max' , max ) ;
11461109addMethodChaining ( 'step' , stepElement ) ;
0 commit comments