Skip to content

Instantiate 3d objects; #845

Answered by drcmda
yahia1997ezat asked this question in Q&A
Nov 29, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I don't understand the code. Why do you create a mesh? Simply put the critical data into your state and then map over it in the render function like everyday common react. It looks to me like you are putting three objects into the JSX scene graph.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yahia1997ezat
Comment options

@drcmda
Comment options

Answer selected by yahia1997ezat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants