Skip to content

Commit

Permalink
fix(GLTFCesiumRTCExtension.d.ts): implements THREE.js's GLTFLoaderPlugin
Browse files Browse the repository at this point in the history
This typing is necessary to register this extension on the three.js GLTFLoader.
  • Loading branch information
sguimmara committed Dec 16, 2024
1 parent e279ec8 commit 686cc09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/three/gltf/GLTFCesiumRTCExtension.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export class GLTFCesiumRTCExtension {
import { GLTFLoaderPlugin } from 'three/examples/jsm/loaders/GLTFLoader.js';

export class GLTFCesiumRTCExtension implements GLTFLoaderPlugin {

name: 'CESIUM_RTC';

Expand Down

0 comments on commit 686cc09

Please sign in to comment.