diff options
Diffstat (limited to 'assetFactory/modelFactory.cpp')
-rw-r--r-- | assetFactory/modelFactory.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/assetFactory/modelFactory.cpp b/assetFactory/modelFactory.cpp new file mode 100644 index 0000000..3a89157 --- /dev/null +++ b/assetFactory/modelFactory.cpp @@ -0,0 +1,14 @@ +#include "modelFactory.h" +#include "assetFactoryConfig.h" +#include "cuboid.h" +#include "cylinder.h" +#include "plane.h" + +ModelFactory::ModelFactory() : + shapes { + {"plane", std::make_shared<Plane>()}, + {"cuboid", std::make_shared<Cuboid>()}, + {"cylinder", std::make_shared<Cylinder>()}, + } +{ +} |