Skip to content

Commit 3bd02e1

Browse files
authored
TSL Transpiler: Fix operator precedence of GLSLDecoder (#31515)
1 parent 9d7dfe7 commit 3bd02e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/transpiler/GLSLDecoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const arithmeticOperators = [
1111
];
1212

1313
const precedenceOperators = [
14-
'*', '/', '%',
14+
'/', '*', '%',
1515
'-', '+',
1616
'<<', '>>',
1717
'<', '>', '<=', '>=',

0 commit comments

Comments
 (0)