25 #ifndef CPP3DS_CIRCLESHAPE_HPP
26 #define CPP3DS_CIRCLESHAPE_HPP
31 #include <cpp3ds/Graphics/Shape.hpp>
51 explicit CircleShape(
float radius = 0,
unsigned int pointCount = 30);
114 unsigned int m_pointCount;
void setRadius(float radius)
Set the radius of the circle.
virtual Vector2f getPoint(unsigned int index) const
Get a point of the circle.
Specialized shape representing a circle.
CircleShape(float radius=0, unsigned int pointCount=30)
Default constructor.
float getRadius() const
Get the radius of the circle.
Base class for textured shapes with outline.
virtual unsigned int getPointCount() const
Get the number of points of the circle.
void setPointCount(unsigned int count)
Set the number of points of the circle.