Move findNodeNearTarget function from path to pathnavigator

To reduce conflicts between wisdome installation branch and master
This commit is contained in:
Emma Broman
2022-10-06 22:25:27 +02:00
parent 5a970ee6e0
commit 8192292229
3 changed files with 47 additions and 38 deletions
@@ -80,6 +80,13 @@ public:
const std::vector<SceneGraphNode*>& relevantNodes();
/**
* Find a node close to the given node. Closeness is determined by a factor times
* the bounding sphere of the object
* \return pointer to the SGN if one was found, nullptr otherwise
*/
static SceneGraphNode* findNodeNearTarget(const SceneGraphNode* node);
/**
* \return The Lua library that contains all Lua functions available to affect the
* path navigation