Skip to content

Commit e73146e

Browse files
authored
fix ge build (#236)
1 parent f4d13b6 commit e73146e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/game-engine/components/game/character-interaction.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export function CharacterInteraction() {
3131
if (!camera) return;
3232

3333
const cameraPos = new THREE.Vector3();
34-
camera.getWorldPosition(cameraPos);
34+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- @types/three version mismatch
35+
camera.getWorldPosition(cameraPos as any);
3536

3637
const characters = objects.filter(
3738
(obj) => obj.type === "character" && obj.visible,

0 commit comments

Comments
 (0)