/*
Auto-generated by: https://github.com/pmndrs/gltfjsx
Command: npx gltfjsx@6.5.3 scene.gltf --transform --root boats/sailboat/assets 
Files: scene.gltf [2.09KB] > /home/matthieu/becpg-workspace/ocearo/ocearo-ui/public/boats/sailboat/assets/scene-transformed.glb [41.86KB] (-1903%)
*/

import React from 'react'
import { useGLTF } from '@react-three/drei'

const ASSET_PREFIX = process.env.ASSET_PREFIX || './';
const modelPath = `${ASSET_PREFIX}/boats/sailboat/assets/scene-transformed.glb`;

export function Model(props) {
    const { nodes, materials } = useGLTF(modelPath, `${ASSET_PREFIX}/draco/`);
    
  return (
    <group {...props} dispose={null}>
      <mesh geometry={nodes.sailboat.geometry} material={materials.texture} position={[0, -1.5, 0]} rotation={[-Math.PI, 0.011, -Math.PI]} scale={0.219} />
    </group>
  )
}