mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 20:21:24 -06:00
Fix bug with target having flipped y-axis
This commit is contained in:
@@ -11,6 +11,6 @@ out vec4 vs_position;
|
||||
|
||||
void main(){
|
||||
vs_st = in_st;
|
||||
vs_position = ViewProjectionMatrix * ModelTransform * in_position * vec4(1.0, -1.0, 1.0, 1.0);
|
||||
vs_position = ViewProjectionMatrix * ModelTransform * in_position;
|
||||
gl_Position = vec4(vs_position);
|
||||
}
|
||||
|
||||
@@ -75,9 +75,7 @@ namespace openspace::skybrowser::luascriptfunctions {
|
||||
ghoul::lua::checkArgumentsAndThrow(L, 0, "lua::createBrowser");
|
||||
|
||||
SkyBrowserModule* module = global::moduleEngine->module<SkyBrowserModule>();
|
||||
|
||||
module->createBrowser();
|
||||
module->createTarget();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user