pmndrs / react-three-fiber

🇨🇭 A React renderer for Three.js
https://docs.pmnd.rs/react-three-fiber
MIT License
27.62k stars 1.6k forks source link

Mesh scale arg requires a Vector 3 type #3379

Open edward-hunt opened 1 month ago

edward-hunt commented 1 month ago

the demo as written doesn't work. Providing this argument to scale causes the demo to work as intended I believe.

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

edward-hunt commented 1 month ago

passing a single number as an argument to scale seems to work in some other examples. No clue why it's not working in your initial code sandbox with the tutorial snippets added.