#include <circle_shape.hpp>
A circle centered at origin.
Definition at line 11 of file circle_shape.hpp.
◆ edges_t
◆ vertices_t
◆ circle_shape_t()
circle_shape_t::circle_shape_t |
( |
double | radius = 1.0, |
|
|
int | segments = 32, |
|
|
double | start = 0.0, |
|
|
double | sweep = gml::radians(360.0) ) |
- Parameters
-
radius | Radius of the circle |
segments | Number of subdivisions around the circle. |
start | Counterclockwise angle relative to x-axis. |
sweep | Counterclockwise angle. |
Definition at line 5 of file circle_shape.cpp.
◆ edges()
edges_t generator::circle_shape_t::edges |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertices()
vertices_t generator::circle_shape_t::vertices |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/circle_shape.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/circle_shape.cpp