- [Path Extrude] Fix mesh generation error in some case.

This commit is contained in:
Tanasart 2024-07-27 12:37:56 +07:00
parent e6d39113c2
commit a50fcaec8b

View file

@ -125,7 +125,7 @@ function __3dPathExtrude(radius = 0.5, sides = 8, smooth = false) : __3dObject()
v._normalize();
if(v.equal(_ux)) u = v.cross(_ux);
if(v.equal(_ux)) u = v.cross(_uz);
else if(v.equal(_uz)) u = v.cross(_uy);
else u = v.cross(_uz);