File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
types/three/examples/jsm/nodes Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export {
127127 step ,
128128 tan ,
129129 transformDirection ,
130+ transpose ,
130131 trunc ,
131132} from "./math/MathNode.js" ;
132133
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ export type MathNodeMethod1 =
3232 | typeof MathNode . RECIPROCAL
3333 | typeof MathNode . TRUNC
3434 | typeof MathNode . FWIDTH
35- | typeof MathNode . BITCAST ;
35+ | typeof MathNode . BITCAST
36+ | typeof MathNode . TRANSPOSE ;
3637
3738export type MathNodeMethod2 =
3839 | typeof MathNode . ATAN2
@@ -93,6 +94,7 @@ export default class MathNode extends TempNode {
9394 static TRUNC : "trunc" ;
9495 static FWIDTH : "fwidth" ;
9596 static BITCAST : "bitcast" ;
97+ static TRANSPOSE : "transpose" ;
9698
9799 // 2 inputs
98100
@@ -167,6 +169,7 @@ export const reciprocal: Unary;
167169export const trunc : Unary ;
168170export const fwidth : Unary ;
169171export const bitcast : Unary ;
172+ export const transpose : Unary ;
170173
171174type Binary = ( a : NodeRepresentation , b : NodeRepresentation ) => ShaderNodeObject < MathNode > ;
172175
@@ -261,5 +264,6 @@ declare module "../shadernode/ShaderNode.js" {
261264 difference : typeof difference ;
262265 saturate : typeof saturate ;
263266 cbrt : typeof cbrt ;
267+ transpose : typeof transpose ;
264268 }
265269}
You can’t perform that action at this time.
0 commit comments