Some clean up and small fixes

This commit is contained in:
Sebastian Piwell
2016-04-27 14:15:40 -04:00
parent d759d3fe03
commit 434f8bfabb
22 changed files with 96 additions and 479 deletions

View File

@@ -43,7 +43,6 @@ namespace openspace {
TexturePlane::TexturePlane(const ghoul::Dictionary& dictionary)
:CygnetPlane(dictionary)
{
_id = id();
std::string name;
dictionary.getValue("Name", name);
setName(name);
@@ -71,9 +70,6 @@ bool TexturePlane::deinitialize(){
return true;
}
// void TexturePlane::render(const RenderData& data){} //moved to CygnetPlane
// void TexturePlane::update(const UpdateData& data){} //moved to CygnetPlane
bool TexturePlane::loadTexture() {
if(_memorybuffer != ""){
@@ -119,9 +115,4 @@ bool TexturePlane::updateTexture(){
return false;
}
int TexturePlane::id(){
static int id = 0;
return id++;
}
}// namespace openspace