mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
fix triangle bug in hull_points() with fast=true
This commit is contained in:
parent
806e4b477d
commit
ba78c0d062
1 changed files with 2 additions and 0 deletions
|
@ -2387,6 +2387,8 @@ module hull_points(points, fast=false) {
|
|||
attachable(){
|
||||
if (len(points[0])==2)
|
||||
hull() polygon(points=points);
|
||||
else if (len(points)==3)
|
||||
polyhedron(points=points, faces=[[0,1,2]]);
|
||||
else {
|
||||
if (fast) {
|
||||
extra = len(points)%3;
|
||||
|
|
Loading…
Reference in a new issue