mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 22:00:37 +02:00
fix triangle bug in hull_points() with fast=true
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user