Closed skemaikin closed 2 weeks ago
Yeah, I see the issue. TubeGeometry
expects a Curve3
, but LineCurve3
is just a Curve<Vector3>
. I think this was me trying to be clever using templates for that type so that I didn't have to duplicate code.. I need to think about this.
I made a fix, but can you say something about the usecase? Isn't this just a more complex CylinderGeometry
?
I made a fix, but can you say something about the usecase? Isn't this just a more complex
CylinderGeometry
?
So fast! ))
TubeGeometry::create
with CatmullRomCurve3
produces correct tubes even if they consist of two points. So I cleaned my code and now only use the CatmullRomCurve3
.Thanks!
Got it. I will keep the changes as it was an improvement on the API
HI! I'm trying to create TubeGeometry from LineCurve3.
I've got a building error:
But , there is no building error when I'm trying to create TubeGeometry from CatmullRomCurve3.