|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< Kakshya::LineVertex > MayaFlux::Portal::Forma::Plot::plot_grid | ( | Kinesis::AABB2D | bounds, |
| uint32_t | x_divisions, | ||
| uint32_t | y_divisions, | ||
| glm::vec3 | color = glm::vec3(0.12F), |
||
| float | thickness = 1.F |
||
| ) |
LINE_LIST grid geometry for a plot area.
Produces x_divisions vertical lines and y_divisions horizontal lines evenly distributed within bounds. Intended as a static background buffer.
| bounds | Plot area in NDC. |
| x_divisions | Vertical line count (columns). 0 = no vertical lines. |
| y_divisions | Horizontal line count (rows). 0 = no horizontal lines. |
| color | Line color. |
| thickness | LineVertex::thickness value. |
Definition at line 143 of file PlotSpec.cpp.
References MayaFlux::Kinesis::AABB2D::height(), MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, MayaFlux::Kakshya::LineVertex::position, and MayaFlux::Kinesis::AABB2D::width().
Here is the call graph for this function: