Update Ghoul repository to have the factory return unique_ptrs

Adjust accordingly
This commit is contained in:
Alexander Bock
2017-03-01 22:03:48 -05:00
parent 2b07cf8c05
commit 2f2fa3b031
26 changed files with 69 additions and 52 deletions

View File

@@ -35,8 +35,9 @@
#include <ghoul/opengl/textureunit.h>
#include <vector>
#include <memory>
#include <string>
#include <vector>
namespace ghoul {
namespace opengl {
@@ -93,7 +94,7 @@ private:
properties::FloatProperty _heightExaggeration;
planetgeometry::PlanetGeometry* _geometry;
std::unique_ptr<planetgeometry::PlanetGeometry> _geometry;
properties::BoolProperty _performShading;
properties::IntProperty _rotation;
float _alpha;