| 775 | } |
| 776 | |
| 777 | Vec2I Object::nodePosition(WireNode wireNode) const { |
| 778 | if (wireNode.direction == WireDirection::Input) |
| 779 | return m_inputNodes.at(wireNode.nodeIndex).position; |
| 780 | else |
| 781 | return m_outputNodes.at(wireNode.nodeIndex).position; |
| 782 | } |
| 783 | |
| 784 | List<WireConnection> Object::connectionsForNode(WireNode wireNode) const { |
| 785 | if (wireNode.direction == WireDirection::Input) |
no test coverage detected