sunag 4 anni fa
parent
commit
e56128b8bd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/jsm/renderers/nodes/math/OperatorNode.js

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

@@ -37,7 +37,7 @@ class OperatorNode extends Node {
 		const a = this.a.build( builder, type );
 		const b = this.b.build( builder, type );
 
-		return builder.format( '( ' + a + ' ' + this.op + ' ' + b + ' )', type, output );
+		return builder.format( `( ${a} ${this.op} ${b} )`, type, output );
 
 	}