Skip to content

Commit

Permalink
fix(types): compatibility with @types/three@0.167.0 (#375)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Methuselah96 authored Jul 25, 2024
1 parent 22fb85e commit 40a4d33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/deprecated/Geometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
Sphere,
Matrix4,
BufferGeometry,
Matrix,
Mesh,
Bone,
AnimationClip,
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 40a4d33

Please sign in to comment.