/*
Auto-generated by: https://github.com/pmndrs/gltfjsx
Command: npx gltfjsx@6.1.4 C:\Users\fgarr\Documents\lab\Granity\packages\engine\public\Toilet.gltf --transform
*/

import { useGLTF } from "@granity/three/drei";

export function Toilet(props: any) {
    const { nodes, materials } = useGLTF(props.model) as any;

    if (nodes) {
        return (
            <group dispose={null}>
                <mesh
                    geometry={nodes.Cylinder001.geometry}
                    material={materials["Material #25"]}
                    position={[-9, 0, 0]}
                    rotation={[-Math.PI / 2, 0, 0]}
                />
                <mesh
                    geometry={nodes.Box001.geometry}
                    material={materials["Material #25"]}
                    position={[-3.83, 90.07, 0]}
                    rotation={[-Math.PI / 2, 0, 0]}
                />
                <mesh
                    geometry={nodes.Box002.geometry}
                    material={materials["Material #25"]}
                    position={[-71.35, 153, 0]}
                    rotation={[-Math.PI / 2, 0, 0]}
                />
            </group>
        );
    }

    return null;
}

// useGLTF.preload("/assets/Toilet-transformed.glb");
