A Three-dimensionnal Vector data type.
Definition: Vector3.hpp:15
Sphere & operator=(const Sphere &)=default
A sphere is assignable.
Sphere(const Vector3 ¢erPosition, int radius, const Color &color)
Sphere constructor.
Definition: Sphere.cpp:13
Definition: Window.hpp:32
~Sphere() override=default
A default destructor.
int getRadius(void) const
Definition: Sphere.cpp:18
Abstraction of any three-dimensionnal drawable.
Definition: ADrawable3D.hpp:17
Sphere in a three-dimensionnal space.
Definition: Sphere.hpp:16
Definition: Circle.cpp:10
void drawWiresOn(RAY::Window &) override
Draw sphere's wires on window.
Definition: Sphere.cpp:34
int _radius
Radius of the sphere.
Definition: Sphere.hpp:48
Object representation of color.
Definition: Color.hpp:15
void drawOn(RAY::Window &) override
Draw point on window.
Definition: Sphere.cpp:29
Sphere & setRadius(int radius)
set radius
Definition: Sphere.cpp:23