File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
types/three/examples/jsm/nodes Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ export { NodeUtils };
6060export {
6161 abs ,
6262 acos ,
63+ all ,
64+ any ,
6365 asin ,
6466 atan ,
6567 atan2 ,
@@ -77,6 +79,7 @@ export {
7779 distance ,
7880 dot ,
7981 EPSILON ,
82+ equals ,
8083 exp ,
8184 exp2 ,
8285 faceForward ,
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ export type MathNodeMethod = MathNodeMethod1 | MathNodeMethod2 | MathNodeMethod3
5959export default class MathNode extends TempNode {
6060 // 1 input
6161
62+ static ALL : "all" ;
63+ static ANY : "any" ;
64+ static EQUALS : "equals" ;
65+
6266 static RADIANS : "radians" ;
6367 static DEGREES : "degrees" ;
6468 static EXP : "exp" ;
@@ -129,6 +133,10 @@ export const PI2: ShaderNodeObject<Node>;
129133
130134type Unary = ( a : NodeRepresentation ) => ShaderNodeObject < MathNode > ;
131135
136+ export const all : Unary ;
137+ export const any : Unary ;
138+ export const equals : Unary ;
139+
132140export const radians : Unary ;
133141export const degrees : Unary ;
134142export const exp : Unary ;
@@ -198,6 +206,9 @@ export const smoothstepElement: Ternary;
198206
199207declare module "../shadernode/ShaderNode.js" {
200208 interface NodeElements {
209+ all : typeof all ;
210+ any : typeof any ;
211+ equals : typeof equals ;
201212 radians : typeof radians ;
202213 degrees : typeof degrees ;
203214 exp : typeof exp ;
You can’t perform that action at this time.
0 commit comments