mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 19:09:23 -05:00
Move shaders into their correct modules
Add path determination to modules that automatically sets correct path resolve tokens
This commit is contained in:
@@ -48,9 +48,19 @@
|
||||
#include <modules/base/ephemeris/dynamicephemeris.h>
|
||||
#include <modules/base/ephemeris/spiceephemeris.h>
|
||||
|
||||
#include <ghoul/filesystem/filesystem>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
BaseModule::BaseModule() {
|
||||
setName("Base");
|
||||
}
|
||||
|
||||
bool BaseModule::initialize() {
|
||||
bool success = OpenSpaceModule::initialize();
|
||||
if (!success)
|
||||
return false;
|
||||
|
||||
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<planetgeometry::PlanetGeometry>);
|
||||
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<modelgeometry::ModelGeometry>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user