mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 18:16:33 +02:00
Corrected times in comments of bezier patch example.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user