]> git.scottworley.com Git - nt3d/blobdiff - box_by_extrude.html
Use "this" instead of the global name
[nt3d] / box_by_extrude.html
index be95de64ade3309ee6f56697df71f964afbfb73b..fb1ca2cf61592cfa8ec72896ec9ddae36bc53880 100644 (file)
@@ -10,8 +10,8 @@
         var xy     = [size, size, 0];
        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]]);
+                           [0, 0, 1],
+                           [1, 0, 0]);
       }
       var params = [["Size", 1]];
     </script>