Problem creating edgesGeometry #1269
Answered
by
drcmda
ThiagoFacchini
asked this question in
Q&A
-
Hi guys, I'm currently facing an error which I don't know how to handle, so decided to post here. This is basically my code:
The example I'm trying to follow is from threejs docos: Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
drcmda
Apr 23, 2021
Replies: 1 comment 2 replies
-
https://threejs.org/docs/index.html?q=edge#api/en/geometries/EdgesGeometry you are doing: const e = new THREE.EdgesGeometry()
e.geometry = ... but edgesgeom does not have a geometry prop. it only takes geometry via the constructor. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ThiagoFacchini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://threejs.org/docs/index.html?q=edge#api/en/geometries/EdgesGeometry
you are doing:
but edgesgeom does not have a geometry prop. it only takes geometry via the constructor.