mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-25 13:38:34 -06:00
Merge commit 'c9cd968d34f691fe34e68cf7e68abff201f72b30' into develop
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
FileRequest = {
|
||||
{ Identifier = "67p_textures", Destination = "textures", Version = 2 }
|
||||
{ Identifier = "67p_textures", Destination = "textures", Version = 2 },
|
||||
{ Identifier = "rosettaimages", Destination = "rosettaimages", Version = 1}
|
||||
},
|
||||
TorrentFiles = {
|
||||
{ File = "67P_rotated_5_130.obj.torrent", Destination = "obj" },
|
||||
|
||||
@@ -73,10 +73,10 @@ Fragment getFragment() {
|
||||
// The plane is oriented on the xz plane
|
||||
// WARNING: This might not be the case for Uranus
|
||||
if (gl_FrontFacing) {
|
||||
normal = vec3(0.0, 1.0, 0.0);
|
||||
normal = vec3(-1.0, 0.0, 0.0);
|
||||
}
|
||||
else {
|
||||
normal = vec3(0.0, -1.0, 0.0);
|
||||
normal = vec3(1.0, 0.0, 0.0);
|
||||
}
|
||||
|
||||
// Reduce the color of the fragment by the user factor
|
||||
|
||||
@@ -68,7 +68,7 @@ function (set_compile_settings project)
|
||||
set_property(TARGET ${project} PROPERTY CXX_STANDARD_REQUIRED On)
|
||||
|
||||
if (MSVC)
|
||||
target_compile_options(${project} PUBLIC "/MP" "/wd4201" "/wd4127")
|
||||
target_compile_options(${project} PUBLIC "/MP" "/ZI" "/wd4201" "/wd4127")
|
||||
if (OPENSPACE_WARNINGS_AS_ERRORS)
|
||||
target_compile_options(${project} PUBLIC "/WX")
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user