mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-24 14:06:23 +01:00
- [Path Extrude] Fix mesh generation error in some case.
This commit is contained in:
parent
e6d39113c2
commit
a50fcaec8b
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ function __3dPathExtrude(radius = 0.5, sides = 8, smooth = false) : __3dObject()
|
||||||
|
|
||||||
v._normalize();
|
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 if(v.equal(_uz)) u = v.cross(_uy);
|
||||||
else u = v.cross(_uz);
|
else u = v.cross(_uz);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue