Skip to content

Commit

Permalink
chore: update gltf loader types (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
pschroen authored Oct 14, 2024
1 parent 930eae1 commit 9d997cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/extras/GLTFLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { NormalProgram } from './NormalProgram.js';
import { InstancedMesh } from './InstancedMesh.js';

import type { OGLRenderingContext } from '../core/Renderer.js';
import type { Camera } from '../core/Camera.js';
import type { Color } from '../math/Color.js';
import type { BasisManager } from './BasisManager.js';
import type { GLTFSkinSkeleton } from './GLTFSkin.js';
Expand Down Expand Up @@ -170,7 +171,7 @@ export class GLTFLoader {
meshes: GLTFMesh[],
skins: GLTFSkinReference[],
images: (HTMLImageElement | ImageBitmap)[],
): (InstancedMesh | Mesh)[] | null;
): [(InstancedMesh | Mesh)[], (Camera | Transform)[]] | null;

static populateSkins(skins: GLTFSkinReference[], nodes: (InstancedMesh | Mesh)[]): void;

Expand Down

0 comments on commit 9d997cf

Please sign in to comment.