X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/08c25ec8473e43e82a1291a528f8332239581483..2f26ede4efa95cc756a2b3240c2a9e29f0f48486:/torus_by_extrude.html diff --git a/torus_by_extrude.html b/torus_by_extrude.html index c95f821..4655519 100644 --- a/torus_by_extrude.html +++ b/torus_by_extrude.html @@ -8,7 +8,7 @@ return nt3d.closed_extrude( path, nt3d.circle(cross_section_radius, short_steps), - nt3d.rotate_about_origin(path, [0,0,1], Math.PI/2), + nt3d.shapenormals_from_closed_path(path), [0, 0, 1]); } var params = [["Torus radus", 100],