mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Completely remove references to constants.h
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
|
||||
#include <openspace/engine/configurationmanager.h>
|
||||
|
||||
#include <openspace/util/constants.h>
|
||||
|
||||
#include <ghoul/lua/lua_helper.h>
|
||||
#include <ghoul/misc/exception.h>
|
||||
#include <ghoul/filesystem/filesystem.h>
|
||||
|
||||
@@ -37,10 +37,11 @@
|
||||
#include <openspace/interaction/mousecontroller.h>
|
||||
#include <openspace/network/networkengine.h>
|
||||
#include <openspace/properties/propertyowner.h>
|
||||
#include <openspace/rendering/renderable.h>
|
||||
#include <openspace/rendering/renderengine.h>
|
||||
#include <openspace/scripting/scriptengine.h>
|
||||
#include <openspace/scene/ephemeris.h>
|
||||
#include <openspace/scene/scene.h>
|
||||
#include <openspace/util/constants.h>
|
||||
#include <openspace/util/factorymanager.h>
|
||||
#include <openspace/util/time.h>
|
||||
#include <openspace/util/spicemanager.h>
|
||||
@@ -117,6 +118,8 @@ OpenSpaceEngine::OpenSpaceEngine(std::string programName,
|
||||
_interactionHandler->setPropertyOwner(_globalPropertyNamespace.get());
|
||||
_globalPropertyNamespace->addPropertySubOwner(_interactionHandler.get());
|
||||
FactoryManager::initialize();
|
||||
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<Renderable>);
|
||||
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<Ephemeris>);
|
||||
SpiceManager::initialize();
|
||||
Time::initialize();
|
||||
ghoul::systemcapabilities::SystemCapabilities::initialize();
|
||||
|
||||
Reference in New Issue
Block a user