-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
On the next branch, in README.md at the "Basic Usage" section it says to initialize the Canvas component as so:
Line 130 in b213d25
| <Canvas camera={{ position: [0, 0, 5] }}> |
However, as far as I can tell, the most recent version of the next branch, the correct prop to Canvas is defaultCamera, not camera:
Line 22 in b213d25
| defaultCamera?: Partial<Props<PerspectiveCamera> | Props<OrthographicCamera>> | Camera |
I am still a beginner in both SolidJS and ThreeJS, so I would totally understand if I am missing something. However, copying the "Basic Usage" code did not work until I changed the Canvas prop from camera to defaultCamera. This is using "solid-three": "^0.3.0-next.11".
Metadata
Metadata
Assignees
Labels
No labels