mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 15:29:26 -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:
@@ -33,7 +33,14 @@
|
||||
|
||||
namespace openspace {
|
||||
|
||||
VolumeModule::VolumeModule() {
|
||||
setName("Volume");
|
||||
}
|
||||
|
||||
bool VolumeModule::initialize() {
|
||||
bool success = OpenSpaceModule::initialize();
|
||||
if (!success)
|
||||
return false;
|
||||
|
||||
auto fRenderable = FactoryManager::ref().factory<Renderable>();
|
||||
ghoul_assert(fRenderable, "No renderable factory existed");
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace openspace {
|
||||
|
||||
class VolumeModule : public OpenSpaceModule {
|
||||
public:
|
||||
VolumeModule();
|
||||
bool initialize() override;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user