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

[v9] fix: camera defaults #3393

Open krispya opened 2 weeks ago

krispya commented 2 weeks ago

This simply removes opinionated default values from the default cameras. In particular, this makes it so adding the same props to a Drei PerspectiveCamera and the camera prop will give the same results.

This is a breaking change.

codesandbox-ci[bot] commented 2 weeks 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.

Latest deployment of this branch, based on commit 30ab4bd97d6121635cb735e5f431caa66f49416a:

Sandbox Source
example Configuration