X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/ec5f883deb58becde856368829a76385c6e85470..bc3b43190ac5233013c555c9f027c2e6f77a5a00:/box_by_extrude.html?ds=sidebyside diff --git a/box_by_extrude.html b/box_by_extrude.html index a95a7d3..fb1ca2c 100644 --- a/box_by_extrude.html +++ b/box_by_extrude.html @@ -8,10 +8,10 @@ var x = [size, 0, 0]; var y = [0, size, 0]; var xy = [size, size, 0]; - return nt3d.extrude([origin, x, xy, y], - [[0, 0, 0], [0, 0, 1]], - [[0, 0, 1], [0, 0, 1]], - [[1, 0, 0], [1, 0, 0]]); + return nt3d.extrude([[0, 0, 0], [0, 0, 1]], + [origin, x, xy, y], + [0, 0, 1], + [1, 0, 0]); } var params = [["Size", 1]];