|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API GeometryFn< glm::vec2 > MayaFlux::Portal::Forma::Geometry::point | ( | glm::vec3 | color = glm::vec3(1.0F), |
| float | size = 10.0F, |
||
| float | hit_radius = 0.04F |
||
| ) |
Geometry function for a positioned point in NDC space.
Value type is glm::vec2 (NDC position). Renders a single PointVertex and sets a circular hit region centered on the position. Suitable as a cursor follower, node handle, or any draggable point primitive.
| color | Point color. |
| size | Point size in pixels. |
| hit_radius | Hit region radius in NDC units. |
Definition at line 86 of file Geometry.cpp.
References MayaFlux::Kinesis::circular_bounds(), MayaFlux::Kinesis::AABB2D::from_ndc(), MayaFlux::Kakshya::PointVertex::position, and write_verts().
Here is the call graph for this function: