Select Git revision
GraphicsEngineFactory.cpp
Forked from
einsteinathome / graphicsframework
260 commits behind the upstream repository.
-
Oliver Bock authored
* Support for flexible requests of engine and specific science app support * Could easily be passed as command line parameter for instance
Oliver Bock authored* Support for flexible requests of engine and specific science app support * Could easily be passed as command line parameter for instance
GraphicsEngineFactory.cpp 518 B
#include "GraphicsEngineFactory.h"
GraphicsEngineFactory::~GraphicsEngineFactory()
{
}
GraphicsEngineFactory::GraphicsEngineFactory()
{
}
AbstractGraphicsEngine * GraphicsEngineFactory::createInstance(
GraphicsEngineFactory::Engines engine,
GraphicsEngineFactory::Applications application)
{
switch(engine) {
case Starsphere:
switch(application) {
case EinsteinS5R3:
return new StarsphereS5R3();
break;
default:
return NULL;
}
break;
default:
return NULL;
}
}