sunag 4 лет назад
Родитель
Сommit
e56128b8bd
1 измененных файлов с 1 добавлено и 1 удалено
  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 );
 
 	}