|
MayaFlux 1.0.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 length, m_segments, m_segments_dirty, and MayaFlux::Kakshya::LineVertex::position.