Make it possible to add n number of additional rendered copies of the sky browser, that can be placed with RAE coordinates

This commit is contained in:
Ylva Selling
2022-03-17 11:53:12 -04:00
parent 220c1090d2
commit ea77f74731
4 changed files with 73 additions and 80 deletions

View File

@@ -250,7 +250,20 @@ namespace openspace {
"string, float, float, float, float",
"Takes an identifier to a sky browser or sky target and the [x, y] "
"starting position and the [x, y] translation vector."
},
},
{
"addRenderCopy",
&skybrowser::luascriptfunctions::addRenderCopy,
"string",
"Takes an identifier to a sky browser and adds a rendered copy to it."
},
{
"removeRenderCopy",
&skybrowser::luascriptfunctions::removeRenderCopy,
"string",
"Takes an identifier to a sky browser and removes the latest added "
"rendered copy to it."
},
};
return res;