MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / nodePosition

Method nodePosition

source/game/StarObject.cpp:777–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777Vec2I 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
784List<WireConnection> Object::connectionsForNode(WireNode wireNode) const {
785 if (wireNode.direction == WireDirection::Input)

Callers 3

connectWireGroupMethod · 0.80
renderImplMethod · 0.80
swingMethod · 0.80

Calls 1

atMethod · 0.45

Tested by

no test coverage detected