X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/1a18e646fe84c30984a5298c284d959e925e6a54..0ee732b2898771d951a5dc4b79c1aaa3ce47b48b:/box_by_extrude.html diff --git a/box_by_extrude.html b/box_by_extrude.html index a95a7d3..be95de6 100644 --- a/box_by_extrude.html +++ b/box_by_extrude.html @@ -8,8 +8,8 @@ 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]], + return nt3d.extrude([[0, 0, 0], [0, 0, 1]], + [origin, x, xy, y], [[0, 0, 1], [0, 0, 1]], [[1, 0, 0], [1, 0, 0]]); }