The following code gives me this error when i try to add curve inside a function even when paths
is a Global variable(array).
I’m trying to create an array(called paths) of THREE.CurvePath()
, and adding multiple curves to each element of paths
.
Could you make a JSFiddle or Codepen demo to reproduce this issue?
The error message sounds like something as small as a syntax mistake, which (1) is hard to debug without running the code, and (2) is hard to run when we have to re-type all of the code from a screenshot.