Browse Source

NodeBuilder: Fix LinearEncoding (#22439)

sunag 3 năm trước cách đây
mục cha
commit
d1b66970f2
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      examples/jsm/renderers/nodes/core/NodeBuilder.js

+ 2 - 0
examples/jsm/renderers/nodes/core/NodeBuilder.js

@@ -6,6 +6,8 @@ import NodeCode from './NodeCode.js';
 import NodeKeywords from './NodeKeywords.js';
 import { NodeUpdateType } from './constants.js';
 
+import { LinearEncoding } from 'three';
+
 class NodeBuilder {
 
 	constructor( material, renderer ) {