]> git.scottworley.com Git - nt3d/blobdiff - box_by_extrude.html
A little deeper blade by default
[nt3d] / box_by_extrude.html
index a95a7d300a7b90243c28954838cafb7a887491ad..fb1ca2cf61592cfa8ec72896ec9ddae36bc53880 100644 (file)
@@ -8,10 +8,10 @@
         var x      = [size, 0,    0];
         var y      = [0,    size, 0];
         var xy     = [size, size, 0];
         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]];
     </script>
       }
       var params = [["Size", 1]];
     </script>