Sphere constructor
Sphere(
- ShapeConfig config,
- double radius
Sphere shape
config
the configuration of the shape
radius
The radius of the sphere
Implementation
Sphere(ShapeConfig config, this.radius):super(config) {
type = Shapes.sphere;
//Object.assign(Object.create(Shape.prototype));
}