-
As title. Currently I have to do something like this to initialize the const { scene } = useThree();
const axesHelper = new AxesHelper(10);
scene.add(axesHelper); Is there a better way of doing this by using the |
Beta Was this translation helpful? Give feedback.
Answered by
drcmda
Dec 8, 2020
Replies: 1 comment 3 replies
-
yes. return <axesHelper args={[10]} /> all of threes primitives can be used declaratively. even 3rd party ones using |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kfei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes.
all of threes primitives can be used declaratively. even 3rd party ones using
extend
.