Skip to content

Commit

Permalink
Examples: Clean up. (#29877)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Nov 14, 2024
1 parent 70bdbb7 commit 2058544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/jsm/lighting/TiledLighting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Lighting } from 'three';
import { Lighting } from 'three/tsl';
import { tiledLights } from '../tsl/lighting/TiledLightsNode.js';

export class TiledLighting extends Lighting {
Expand Down
5 changes: 3 additions & 2 deletions examples/jsm/tsl/lighting/TiledLightsNode.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import {
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';

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 ] ) => {

Expand Down

0 comments on commit 2058544

Please sign in to comment.