- 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);