public static Solid Sphere(float r = 1, bool center = true) { var c = center ? new Vector3(0, 0, 0) : new Vector3(r, r, r); return(Solids.Sphere(new SphereOptions { Radius = r, Center = c })); }
public static Solid Sphere(float r, Vector3 center) { return(Solids.Sphere(new SphereOptions { Radius = r, Center = center })); }