New file |
| | |
| | | import { useEffect, useRef, useMemo } from 'react'; |
| | | |
| | | const Warehouse = (props) => { |
| | | |
| | | useEffect(() => { |
| | | |
| | | }, []) |
| | | |
| | | return ( |
| | | <> |
| | | |
| | | </> |
| | | ) |
| | | } |
| | | |
| | | export default Warehouse; |
| | |
| | | import Buildings from '../components/buidings' |
| | | import TreeGroup from '../components/tree-group' |
| | | import House from '../components/house' |
| | | import Warehouse from '../core/warehouse' |
| | | |
| | | const Base = (props) => { |
| | | return ( |
| | |
| | | <Buildings /> |
| | | <TreeGroup /> |
| | | <House /> |
| | | <Warehouse /> |
| | | <Box position={[0, 0, 0]} /> |
| | | <OrbitControls /> |
| | | <Environment background preset="night" /> |