Преглед изворни кода

TSL Transpiler: Fix operator precedence of `GLSLDecoder` (#31515)

sunag пре 9 месеци
родитељ
комит
3bd02e1aae
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/jsm/transpiler/GLSLDecoder.js

+ 1 - 1
examples/jsm/transpiler/GLSLDecoder.js

@@ -11,7 +11,7 @@ const arithmeticOperators = [
 ];
 
 const precedenceOperators = [
-	'*', '/', '%',
+	'/', '*', '%',
 	'-', '+',
 	'<<', '>>',
 	'<', '>', '<=', '>=',

粤ICP备19079148号