mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-09 07:19:11 +00:00
Corrected times in comments of bezier patch example.
This commit is contained in:
parent
d0595fb132
commit
9ffa7815d1
1 changed files with 2 additions and 3 deletions
|
|
@ -99,11 +99,10 @@ module CR_cube(size=[100,100,100], r=10, splinesteps=8, cheat=false)
|
|||
// Generating all the patches above took about 0.05 secs.
|
||||
|
||||
if (cheat) {
|
||||
// Generating the points for the corners takes 5 seconds on my weak-sauce laptop.
|
||||
// Hulling it takes less than a second.
|
||||
// Hulling just the corners takes less than a second.
|
||||
hull() bezier_polyhedron(tris=corners, splinesteps=splinesteps);
|
||||
} else {
|
||||
// Generating the polyhedron fully from bezier patches takes 12 seconds on my laptop.
|
||||
// Generating the polyhedron fully from bezier patches takes 3 seconds on my laptop.
|
||||
bezier_polyhedron(patches=concat(edges, faces), tris=corners, splinesteps=splinesteps);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue