Skip to content

Commit 0d3b7f1

Browse files
authored
TSL: Fix inconsistent chaining for .step() (Parameter order) (#1679)
* Update * Update three.js
1 parent 75a4287 commit 0d3b7f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

types/three/src/nodes/math/MathNode.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ export const rand: (uv: MathNodeParameter) => ShaderNodeObject<OperatorNode>;
219219

220220
export const mixElement: Ternary;
221221
export const smoothstepElement: Ternary;
222+
export const stepElement: Binary;
222223

223224
/**
224225
* @deprecated
@@ -270,7 +271,7 @@ declare module "../tsl/TSLCore.js" {
270271
atan2: typeof atan2;
271272
min: typeof min;
272273
max: typeof max;
273-
step: typeof step;
274+
step: typeof stepElement;
274275
reflect: typeof reflect;
275276
distance: typeof distance;
276277
dot: typeof dot;

0 commit comments

Comments
 (0)