move tank models to models_tanks chunk

This commit is contained in:
tresabhi committed 2026-10-21 22:56:40 -05:00
1 parent ab9149a11f
commit 0ee9c99a28
7 files changed
+22 -4

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { GLTFLoader } from "three-stdlib";
import { useDispose } from "./useDispose";
export function useModel(id: number) {
const path = alias("api", `/tanks/${id}/model.glb`);
const path = alias("models_tanks", `/${id}/model.glb`);
const gltf = useLoader(GLTFLoader, path);
useDispose(gltf, path);