From 40a4d33f64741adf589ac331dda36e309573e85c Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 25 Jul 2024 18:13:22 -0400 Subject: [PATCH] fix(types): compatibility with @types/three@0.167.0 (#375) The `Matrix` interface was removed in [@types/three@0.167.0](https://github.com/three-types/three-ts-types/releases/tag/r167). `Matrix4` seems like the better type anyway. --- src/deprecated/Geometry.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/deprecated/Geometry.d.ts b/src/deprecated/Geometry.d.ts index 7a11aac5..a64f55de 100644 --- a/src/deprecated/Geometry.d.ts +++ b/src/deprecated/Geometry.d.ts @@ -7,7 +7,6 @@ import { Sphere, Matrix4, BufferGeometry, - Matrix, Mesh, Bone, AnimationClip, @@ -232,7 +231,7 @@ export class Geometry extends EventDispatcher { */ computeBoundingSphere(): void - merge(geometry: Geometry, matrix?: Matrix, materialIndexOffset?: number): void + merge(geometry: Geometry, matrix?: Matrix4, materialIndexOffset?: number): void mergeMesh(mesh: Mesh): void