X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/08c25ec8473e43e82a1291a528f8332239581483..2d38f7243be5d76cca2812428cc90d0009e672cb:/torus_by_extrude.html?ds=sidebyside 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],