فهرست منبع

Examples: Clean up. (#29877)

Michael Herzog 1 سال پیش
والد
کامیت
2058544e2c
2فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 1 1
      examples/jsm/lighting/TiledLighting.js
  2. 3 2
      examples/jsm/tsl/lighting/TiledLightsNode.js

+ 1 - 1
examples/jsm/lighting/TiledLighting.js

@@ -1,4 +1,4 @@
-import { Lighting } from 'three';
+import { Lighting } from 'three/tsl';
 import { tiledLights } from '../tsl/lighting/TiledLightsNode.js';
 import { tiledLights } from '../tsl/lighting/TiledLightsNode.js';
 
 
 export class TiledLighting extends Lighting {
 export class TiledLighting extends Lighting {

+ 3 - 2
examples/jsm/tsl/lighting/TiledLightsNode.js

@@ -1,9 +1,10 @@
 import {
 import {
 	storageObject, nodeProxy, int, float, vec2, ivec2, ivec4, uniform, Break, Loop,
 	storageObject, nodeProxy, int, float, vec2, ivec2, ivec4, uniform, Break, Loop,
-	Fn, If, Return, textureLoad, instanceIndex, screenCoordinate, directPointLight
+	Fn, If, Return, textureLoad, instanceIndex, screenCoordinate, directPointLight,
+	LightsNode, NodeUpdateType, StorageBufferAttribute
 } from 'three/tsl';
 } from 'three/tsl';
 
 
-import { DataTexture, FloatType, LightsNode, NodeUpdateType, RGBAFormat, StorageBufferAttribute, Vector2, Vector3 } from 'three';
+import { DataTexture, FloatType, RGBAFormat, Vector2, Vector3 } from 'three';
 
 
 export const circleIntersectsAABB = /*@__PURE__*/ Fn( ( [ circleCenter, radius, minBounds, maxBounds ] ) => {
 export const circleIntersectsAABB = /*@__PURE__*/ Fn( ( [ circleCenter, radius, minBounds, maxBounds ] ) => {
 
 

粤ICP备19079148号