Feature/anchor and aim (#799)

Introduce the ability to navigate using an anchor and aim.
Example use: Set spacecraft as anchor and planet as aim to always look down at a planet, while followin the spacecraft in its orbit.
This commit is contained in:
Emil Axelsson
2019-02-19 18:46:58 +01:00
committed by GitHub
parent df9fbf8195
commit 2e71eaa4cb
45 changed files with 972 additions and 490 deletions

View File

@@ -37,6 +37,9 @@ Scene* sceneGraph() {
SceneGraphNode* sceneGraphNode(const std::string& name) {
const Scene* graph = sceneGraph();
if (!graph) {
return nullptr;
}
return graph->sceneGraphNode(name);
}