|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API GeometryFn< float > MayaFlux::Portal::Forma::Geometry::radial | ( | glm::vec2 | center, |
| float | radius, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| glm::vec3 | color = glm::vec3(0.9F) |
||
| ) |
Geometry function for a radial indicator in NDC space.
| center | Arc center in NDC. |
| radius | Arc radius in NDC units. |
| angle_start | Start angle in radians (value = 0). |
| angle_end | End angle in radians (value = 1). |
| color | Line color. |
Definition at line 61 of file Geometry.cpp.
References MayaFlux::Kinesis::circular_bounds(), MayaFlux::Kinesis::AABB2D::from_ndc(), MayaFlux::Kakshya::LineVertex::position, and write_verts().
Here is the call graph for this function: