|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< Kakshya::LineVertex > MayaFlux::Kinesis::arc_outline | ( | glm::vec2 | center, |
| float | radius, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| uint32_t | segments, | ||
| glm::vec3 | color = glm::vec3(1.F), |
||
| float | thickness = 1.F |
||
| ) |
Arc outline as a LINE_LIST (open curve, 2 * segments vertices).
angle_start and angle_end are in radians 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 | Edge count over the arc span. |
| color | Uniform line color. |
| thickness | Line thickness. |
Definition at line 245 of file Geometry2D.cpp.