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
+1 -9
View File
@@ -43,9 +43,7 @@ namespace openspace {
KameleonPlane::KameleonPlane(const ghoul::Dictionary& dictionary)
:CygnetPlane(dictionary)
{
_id = id();
{
std::string name;
dictionary.getValue("Name", name);
setName(name);
@@ -65,8 +63,6 @@ KameleonPlane::KameleonPlane(const ghoul::Dictionary& dictionary)
}else{
_data->scale.z = 0;
}
std::cout << "Creating kameleonplane" << std::endl;
}
KameleonPlane::~KameleonPlane(){}
@@ -144,8 +140,4 @@ bool KameleonPlane::updateTexture(){
return true;
}
int KameleonPlane::id(){
static int id = 0;
return id++;
}
}// namespace openspace