|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API GeometryFn< std::vector< float > > MayaFlux::Portal::Forma::Geometry::drawable_canvas | ( | Kinesis::AABB2D | bounds, |
| glm::vec3 | color = glm::vec3(0.8F), |
||
| float | thickness = 1.5F |
||
| ) |
Geometry function for a drawable curve canvas in NDC space.
Renders the sample vector as a LINE_LIST polyline. Each adjacent sample pair becomes one segment. The hit region covers the full canvas bounds.
| bounds | Canvas extent in NDC. |
| color | Line color. |
| thickness | LineVertex thickness value. |
Definition at line 287 of file Geometry.cpp.
References MayaFlux::Kinesis::AABB2D::contains(), MayaFlux::Kinesis::AABB2D::height(), MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, MayaFlux::Kinesis::polygon_bounds(), MayaFlux::Kinesis::AABB2D::width(), and write_verts().
Here is the call graph for this function: