|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< Kakshya::Vertex > MayaFlux::Kinesis::filled_arc | ( | glm::vec2 | center, |
| float | radius, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| uint32_t | segments, | ||
| glm::vec3 | color = glm::vec3(1.F) |
||
| ) |
Filled circular arc sector (pie slice) as a TRIANGLE_LIST fan.
angle_start and angle_end are in radians, measured from +X CCW. Minimum segments is 1.
| center | Arc center in NDC. |
| radius | Radius in NDC units. |
| angle_start | Start angle in radians. |
| angle_end | End angle in radians. |
| segments | Triangle count over the arc span. |
| color | Uniform fill color. |
Definition at line 181 of file Geometry2D.cpp.