Explorar o código

TSL Transpiler: Support matrix types. (#30501)

Michael Herzog hai 1 ano
pai
achega
1d1df9a0c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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号