Sfoglia il codice sorgente

TSL Transpiler: Support more matrix types, bool vectors. (#30517)

Cody Bennett 11 mesi fa
parent
commit
b1d7cdc8cb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/jsm/transpiler/GLSLDecoder.js

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

@@ -224,7 +224,7 @@ class Tokenizer {
 
 }
 
-const isType = ( str ) => /void|bool|float|u?int|mat[234]|(u|i)?vec[234]/.test( str );
+const isType = ( str ) => /void|bool|float|u?int|mat[234]|mat[234]x[234]|(u|i|b)?vec[234]/.test( str );
 
 class GLSLDecoder {
 

粤ICP备19079148号