mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 20:21:24 -06:00
Change name of function to move 3D browser to a better suited name for lua function
This commit is contained in:
@@ -171,8 +171,8 @@ namespace openspace {
|
||||
"input. An input string should be the name of the system host star"
|
||||
},
|
||||
{
|
||||
"create3dSkyBrowser",
|
||||
&skybrowser::luascriptfunctions::create3dSkyBrowser,
|
||||
"place3dSkyBrowser",
|
||||
&skybrowser::luascriptfunctions::place3dSkyBrowser,
|
||||
{},
|
||||
"string or list of strings",
|
||||
"Add one or multiple exoplanet systems to the scene, as specified by the "
|
||||
|
||||
@@ -573,8 +573,8 @@ namespace openspace::skybrowser::luascriptfunctions {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int create3dSkyBrowser(lua_State* L) {
|
||||
ghoul::lua::checkArgumentsAndThrow(L, 1, "lua::create3dSkyBrowser");
|
||||
int place3dSkyBrowser(lua_State* L) {
|
||||
ghoul::lua::checkArgumentsAndThrow(L, 1, "lua::place3dSkyBrowser");
|
||||
// Image index to place in 3D
|
||||
const int i = ghoul::lua::value<int>(L, 1);
|
||||
SkyBrowserModule* module = global::moduleEngine->module<SkyBrowserModule>();
|
||||
|
||||
Reference in New Issue
Block a user