Fixed examples in vnf_vertex_array()

This commit is contained in:
Revar Desmera
2020-03-15 11:54:11 -07:00
parent 265db9fe5d
commit 3ac0be39c2
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,193]; BOSL_VERSION = [2,0,194];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions

View File

@@ -199,7 +199,7 @@ function vnf_triangulate(vnf) =
// for (a=[0:5:360-EPSILON]) // for (a=[0:5:360-EPSILON])
// apply( // apply(
// zrot(a) * right(30) * xrot(90), // zrot(a) * right(30) * xrot(90),
// circle(d=20) // path3d(circle(d=20))
// ) // )
// ], // ],
// col_wrap=true, row_wrap=true, reverse=true // col_wrap=true, row_wrap=true, reverse=true
@@ -210,7 +210,7 @@ function vnf_triangulate(vnf) =
// points=[ // points=[
// for (a=[0:5:360]) apply( // for (a=[0:5:360]) apply(
// zrot(a) * right(30) * xrot(90) * zrot(a/2+60), // zrot(a) * right(30) * xrot(90) * zrot(a/2+60),
// square([1,10], center=true) // path3d(square([1,10], center=true))
// ) // )
// ], // ],
// col_wrap=true, reverse=true // col_wrap=true, reverse=true
@@ -220,7 +220,7 @@ function vnf_triangulate(vnf) =
// wall_points = [ // wall_points = [
// for (a = [-90:2:90]) apply( // for (a = [-90:2:90]) apply(
// up(a) * scale([1-0.1*cos(a*6),1-0.1*cos((a+90)*6),1]), // up(a) * scale([1-0.1*cos(a*6),1-0.1*cos((a+90)*6),1]),
// circle(d=100) // path3d(circle(d=100))
// ) // )
// ]; // ];
// cap = [ // cap = [