|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::GpuSync::LineSegmentsNode::add_axis | ( | const LineVertex & | origin, |
| const glm::vec3 & | direction, | ||
| float | length | ||
| ) |
Add a directed axis segment originating from a point.
Emits one segment from origin along direction scaled to length, using current color and thickness.
| origin | Base position. |
| direction | Unit or non-unit direction vector (not normalised internally). |
| length | Scalar length of the emitted segment. |
Definition at line 33 of file LineSegmentsNode.cpp.
References m_segments, MayaFlux::Nodes::GpuSync::GeometryWriterNode::m_vertex_data_dirty, and MayaFlux::Kakshya::LineVertex::position.