Is there a way to return a composite noise function from a function that is essential a function builder? The arguments when compositing a noise function are references, so they they pass out of scope when the function is returned. I am not sure how to solve this without changing the library.
Is there a way to return a composite noise function from a function that is essential a function builder? The arguments when compositing a noise function are references, so they they pass out of scope when the function is returned. I am not sure how to solve this without changing the library.