#include "network.h" #include #include #include Network::Network(const std::string & tn) : texture {Texture::cachedTexture.get(tn)} { } NodePtr Network::findNodeAt(glm::vec3 pos) const { if (const auto n = nodes.find(std::make_shared(pos)); n != nodes.end()) { return *n; } return {}; }