mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-27 07:18:57 -06:00
Some clean up and small fixes
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user