Skip to content

Commit ba209ea

Browse files
committed
Update incorrect import for glb model in TopDownVehicle demo
1 parent 8a699fe commit ba209ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/demos/TopDownVehicle/Pylon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type GLTFResult = GLTF & {
1616
}
1717

1818
export default function Model(props) {
19-
const { nodes, materials } = useGLTF('/kenney_carKit/pylon.glb') as GLTFResult
19+
const { nodes, materials } = useGLTF('/kenney_carkit/pylon.glb') as GLTFResult
2020

2121
const [group] = useCircle(() => ({
2222
mass: 0.1,
@@ -36,4 +36,4 @@ export default function Model(props) {
3636
)
3737
}
3838

39-
useGLTF.preload('/kenney_carKit//pylon.glb')
39+
useGLTF.preload('/kenney_carkit/pylon.glb')

0 commit comments

Comments
 (0)