mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-19 11:21:42 +02:00
Fixed bezier patch functions to all accept mixes of triangular and rectangular patches in the patches list, instead of having separate tris arguments.
This commit is contained in:
@@ -104,9 +104,9 @@ module CR_cube(size=[100,100,100], r=10, splinesteps=8, cheat=false, debug=false
|
||||
hull() bezier_polyhedron(patches=corners, splinesteps=splinesteps);
|
||||
} else {
|
||||
if (debug) {
|
||||
trace_bezier_patches(patches=concat(edges, faces), tris=corners, showcps=true, splinesteps=splinesteps);
|
||||
trace_bezier_patches(patches=concat(edges, faces, corners), showcps=true, splinesteps=splinesteps);
|
||||
} else {
|
||||
bezier_polyhedron(patches=concat(edges, faces), tris=corners, splinesteps=splinesteps);
|
||||
bezier_polyhedron(patches=concat(edges, faces, corners), splinesteps=splinesteps);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user