20 lines
559 B
TypeScript
20 lines
559 B
TypeScript
import { useGLTF } from "@react-three/drei";
|
|
import {
|
|
MergedStaticMapModel,
|
|
type MergedStaticMapModelProps,
|
|
} from "@/components/three/world/MergedStaticMapModel";
|
|
|
|
const FERME_VERTICALE_MODEL_PATH = "/models/fermeverticale/model.gltf";
|
|
|
|
type FermeVerticaleModelProps = Omit<MergedStaticMapModelProps, "modelPath">;
|
|
|
|
export function FermeVerticaleModel(
|
|
props: FermeVerticaleModelProps,
|
|
): React.JSX.Element {
|
|
return (
|
|
<MergedStaticMapModel modelPath={FERME_VERTICALE_MODEL_PATH} {...props} />
|
|
);
|
|
}
|
|
|
|
useGLTF.preload(FERME_VERTICALE_MODEL_PATH);
|