|
CeresEngine 0.2.0
A game development framework
|
A circle centered at origin. More...
#include <CeresEngine/Mesh/Generator/CircleShape.hpp>
Public Types | |
| using | Edges = typename Impl::Edges |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| CircleShape (double radius=1.0, int segments=32, double start=0.0, double sweep=radians(360.0)) | |
| Edges | edges () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = ParametricShape |
Private Attributes | |
| Impl | mParametricShape |
A circle centered at origin.
| CeresEngine::MeshGenerator::CircleShape::CircleShape | ( | double | radius = 1.0, |
| int | segments = 32, |
||
| double | start = 0.0, |
||
| double | sweep = radians(360.0) |
||
| ) |
| radius | Radius of the circle |
| segments | Number of subdivisions around the circle. |
| start | Counterclockwise angle relative to x-axis. |
| sweep | Counterclockwise angle. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |