Selaa lähdekoodia

TSL Transpiler: Support matrix types. (#30501)

Michael Herzog 1 vuosi sitten
vanhempi
sitoutus
1d1df9a0c7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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号