Sphere in a three-dimensionnal space.
More...
#include <Sphere.hpp>
Sphere in a three-dimensionnal space.
◆ Sphere() [1/2]
| RAY::Drawables::Drawables3D::Sphere::Sphere |
( |
const Vector3 & |
centerPosition, |
|
|
int |
radius, |
|
|
const Color & |
color |
|
) |
| |
Sphere constructor.
- Parameters
-
| centerPosition | position of the center |
| radius | radius of the sphere |
| Color | Color of the sphere
|
◆ Sphere() [2/2]
| RAY::Drawables::Drawables3D::Sphere::Sphere |
( |
const Sphere & |
| ) |
|
|
default |
A default copy constructor.
◆ ~Sphere()
| RAY::Drawables::Drawables3D::Sphere::~Sphere |
( |
| ) |
|
|
overridedefault |
◆ drawOn()
| void RAY::Drawables::Drawables3D::Sphere::drawOn |
( |
RAY::Window & |
| ) |
|
|
overridevirtual |
◆ drawWiresOn()
| void RAY::Drawables::Drawables3D::Sphere::drawWiresOn |
( |
RAY::Window & |
| ) |
|
|
overridevirtual |
◆ getRadius()
| int RAY::Drawables::Drawables3D::Sphere::getRadius |
( |
void |
| ) |
const |
- Returns
- the radius of the sphere
◆ operator=()
| Sphere& RAY::Drawables::Drawables3D::Sphere::operator= |
( |
const Sphere & |
| ) |
|
|
default |
◆ setRadius()
| Sphere & RAY::Drawables::Drawables3D::Sphere::setRadius |
( |
int |
radius | ) |
|
◆ _radius
| int RAY::Drawables::Drawables3D::Sphere::_radius |
|
private |
The documentation for this class was generated from the following files: