From 2c17c93531788dc798b5c2568abab01b505fc407 Mon Sep 17 00:00:00 2001 From: Thomas Fuhrmann Date: Fri, 11 Apr 2025 11:33:05 +0200 Subject: [PATCH] Fix lints --- app/three/utils/build-clipping-planes.ts | 2 +- app/three/utils/build-meshes.ts | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/three/utils/build-clipping-planes.ts b/app/three/utils/build-clipping-planes.ts index a9e24cd..ec5a083 100644 --- a/app/three/utils/build-clipping-planes.ts +++ b/app/three/utils/build-clipping-planes.ts @@ -25,7 +25,7 @@ import { MeshStandardNodeMaterial, WebGPURenderer, } from "three/webgpu"; -import { color, vec4 } from "three/tsl"; +import { color } from "three/tsl"; export enum Orientation { X = "X", diff --git a/app/three/utils/build-meshes.ts b/app/three/utils/build-meshes.ts index b0f59cb..04d04c0 100644 --- a/app/three/utils/build-meshes.ts +++ b/app/three/utils/build-meshes.ts @@ -1,16 +1,10 @@ -import { - BufferAttribute, - BufferGeometry, - Color, - DoubleSide, - Mesh, -} from "three"; +import { BufferAttribute, BufferGeometry, DoubleSide, Mesh } from "three"; import { fetchVertices, fetchTriangleIndices, transform } from "./utils"; import { TRIANGLE_INDICES_URL, VERTICES_URL } from "../config"; import { topoNodeMaterial } from "../ShaderMaterial"; import { MeshStandardNodeMaterial } from "three/webgpu"; -import { color, vec4 } from "three/tsl"; +import { color } from "three/tsl"; interface MappedFeature { featuregeom_id: number;