Sfoglia il codice sorgente

TSL Transpiler: Support matrix types. (#30501)

Michael Herzog 1 anno fa
parent
commit
1d1df9a0c7
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|(u|i)?vec[234]/.test( str );
+const isType = ( str ) => /void|bool|float|u?int|mat[234]|(u|i)?vec[234]/.test( str );
 
 class GLSLDecoder {
 

粤ICP备19079148号