|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< Kakshya::Vertex > MayaFlux::Kinesis::filled_circle | ( | glm::vec2 | center, |
| float | radius, | ||
| uint32_t | segments, | ||
| glm::vec3 | color = glm::vec3(1.F) |
||
| ) |
Filled circle as a TRIANGLE_LIST triangle fan.
Decomposes into (segments) triangles sharing a common center vertex. Minimum segments is 3; values below are clamped.
| center | Circle center in NDC. |
| radius | Radius in NDC units. |
| segments | Triangle count around the circumference. |
| color | Uniform fill color. |
Definition at line 38 of file Geometry2D.cpp.