More cleanup of WaveFrontGeometry and RenderableModel

This commit is contained in:
Alexander Bock
2015-02-25 23:58:30 +01:00
parent bd382f9e8e
commit a4e4df3d28
4 changed files with 29 additions and 45 deletions

View File

@@ -25,13 +25,11 @@
#ifndef __RENDERABLEMODEL_H__
#define __RENDERABLEMODEL_H__
// open space includes
#include <openspace/rendering/renderable.h>
#include <openspace/properties/stringproperty.h>
#include <openspace/util/updatestructures.h>
// ghoul includes
#include <ghoul/opengl/programobject.h>
#include <ghoul/opengl/texture.h>
@@ -44,7 +42,6 @@ class ModelGeometry;
class RenderableModel : public Renderable {
public:
RenderableModel(const ghoul::Dictionary& dictionary);
~RenderableModel();
bool initialize() override;
bool deinitialize() override;
@@ -70,7 +67,8 @@ private:
std::string _source;
std::string _destination;
double _time;
psc _sunPosition;
properties::BoolProperty _performShading;
};

View File

@@ -59,8 +59,6 @@ private:
std::vector<Vertex> _vertices;
std::vector<int> _indices;
std::vector<int> _shapeCounts;
};
} // namespace modelgeometry