2
0
Эх сурвалжийг харах

Fix a typo related to the STEP MathNode (#23042)

William McMurray 3 жил өмнө
parent
commit
9dee529ef9

+ 1 - 1
examples/jsm/renderers/nodes/math/MathNode.js

@@ -187,7 +187,7 @@ class MathNode extends TempNode {
 			} else if ( method === MathNode.STEP ) {
 
 				params.push(
-					b.build( builder, builder.getTypeLength( a.getNodeType( builder ) ) === 1 ? 'float' : inputType ),
+					a.build( builder, builder.getTypeLength( a.getNodeType( builder ) ) === 1 ? 'float' : inputType ),
 					b.build( builder, inputType )
 				);