X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/efae2dc27628eb1c0d116b24418fc48cf48c14a3..3fdffa6cef1752afc1143dac2d8b9966fc91cc2d:/sphere_primitive.html

diff --git a/sphere_primitive.html b/sphere_primitive.html
index 0e5095a..4eaa132 100644
--- a/sphere_primitive.html
+++ b/sphere_primitive.html
@@ -3,12 +3,12 @@
     <title>Sphere primitive</title>
     <script type="text/javascript" src="nt3d.js"></script>
     <script type="text/javascript">
-      function sphere_primitive(radius, lattitude_steps, longitude_steps) {
-      	return nt3d.sphere([0,0,0], radius, lattitude_steps, longitude_steps);
+      function sphere_primitive(params.) {
+      	return nt3d.sphere([0,0,0], params.radius, params.lattitude_steps, params.longitude_steps);
       }
-      var params = [["Radius", 1],
-                    ["Lattitude steps", 20],
-                    ["Longitude steps", 20]];
+      var params = [["radius", 1],
+                    ["lattitude_steps", 20],
+                    ["longitude_steps", 20]];
     </script>
   </head>
   <body onload="nt3d.framework(sphere_primitive, params)">