mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-30 07:49:31 -05:00
Fixes for Windows
Fixing shader paths for fieldlines rendering Update Kameleon to work with MSVC 2015 fix
This commit is contained in:
@@ -333,7 +333,7 @@ int SpiceManager::naifId(const string& body) const {
|
||||
ghoul_assert(!body.empty(), "Empty body");
|
||||
|
||||
SpiceBoolean success;
|
||||
int id;
|
||||
SpiceInt id;
|
||||
bods2c_c(body.c_str(), &id, &success);
|
||||
if (!success)
|
||||
throw SpiceException(format("Could not find NAIF ID of body '{}'", body));
|
||||
@@ -344,7 +344,7 @@ bool SpiceManager::hasNaifId(const string& body) const {
|
||||
ghoul_assert(!body.empty(), "Empty body");
|
||||
|
||||
SpiceBoolean success;
|
||||
int id;
|
||||
SpiceInt id;
|
||||
bods2c_c(body.c_str(), &id, &success);
|
||||
reset_c();
|
||||
return success;
|
||||
@@ -353,7 +353,7 @@ bool SpiceManager::hasNaifId(const string& body) const {
|
||||
int SpiceManager::frameId(const string& frame) const {
|
||||
ghoul_assert(!frame.empty(), "Empty frame");
|
||||
|
||||
int id;
|
||||
SpiceInt id;
|
||||
namfrm_c(frame.c_str(), &id);
|
||||
if (id == 0)
|
||||
throw SpiceException(format("Could not find NAIF ID of frame '{}'", frame));
|
||||
@@ -363,7 +363,7 @@ int SpiceManager::frameId(const string& frame) const {
|
||||
bool SpiceManager::hasFrameId(const string& frame) const {
|
||||
ghoul_assert(!frame.empty(), "Empty frame");
|
||||
|
||||
int id;
|
||||
SpiceInt id;
|
||||
namfrm_c(frame.c_str(), &id);
|
||||
return id != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user