Browse Source

ShaderNode: Fix cacheMaps.int -> cacheMaps.ints (#27911)

susiwen8 1 năm trước cách đây
mục cha
commit
93be1831f0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/jsm/nodes/shadernode/ShaderNode.js

+ 1 - 1
examples/jsm/nodes/shadernode/ShaderNode.js

@@ -555,7 +555,7 @@ addNodeElement( 'append', append );
 export const color = new ConvertType( 'color' );
 
 export const float = new ConvertType( 'float', cacheMaps.float );
-export const int = new ConvertType( 'int', cacheMaps.int );
+export const int = new ConvertType( 'int', cacheMaps.ints );
 export const uint = new ConvertType( 'uint', cacheMaps.uint );
 export const bool = new ConvertType( 'bool', cacheMaps.bool );