]> git.scottworley.com Git - nt3d/blobdiff - box_by_quadstrip.html
Sphere primitive
[nt3d] / box_by_quadstrip.html
index 1c6f8faeed36ea285771af9fdcac52bd5921a8a5..83ad5ab47fd21ccaa70aceb941ec3889f75d31f3 100644 (file)
@@ -3,8 +3,7 @@
     <title>Box by quadstrip</title>
     <script type="text/javascript" src="nt3d.js"></script>
     <script type="text/javascript">
-      function box_by_quadstrip(size_as_string) {
-        var size = parseFloat(size_as_string);
+      function box_by_quadstrip(size) {
         var origin = [0,    0,    0   ];
         var x      = [size, 0,    0   ];
         var y      = [0,    size, 0   ];