mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-23 21:46:17 +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();
|
||||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue