Skip to content

Commit b1d7cdc

Browse files
TSL Transpiler: Support more matrix types, bool vectors. (mrdoob#30517)
1 parent f27108e commit b1d7cdc

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
@@ -224,7 +224,7 @@ class Tokenizer {
224224

225225
}
226226

227-
const isType = ( str ) => /void|bool|float|u?int|mat[234]|(u|i)?vec[234]/.test( str );
227+
const isType = ( str ) => /void|bool|float|u?int|mat[234]|mat[234]x[234]|(u|i|b)?vec[234]/.test( str );
228228

229229
class GLSLDecoder {
230230

0 commit comments

Comments
 (0)