mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 09:59:44 -05:00
Some clean up and small fixes
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user