mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 12:59:07 -06:00
SpiceManager - initialize default matrix; Update ghoul
This commit is contained in:
Submodule ext/ghoul updated: fcb8e8b964...a3fc819d8f
@@ -678,7 +678,7 @@ glm::dmat3 SpiceManager::frameTransformationMatrix(const std::string& from,
|
||||
ghoul_assert(!to.empty(), "To must not be empty");
|
||||
|
||||
// get rotation matrix from frame A - frame B
|
||||
glm::dmat3 transform;
|
||||
glm::dmat3 transform = glm::dmat3(1.0);
|
||||
pxform_c(
|
||||
from.c_str(),
|
||||
to.c_str(),
|
||||
@@ -851,7 +851,7 @@ glm::dmat3 SpiceManager::positionTransformMatrix(const std::string& sourceFrame,
|
||||
ghoul_assert(!sourceFrame.empty(), "sourceFrame must not be empty");
|
||||
ghoul_assert(!destinationFrame.empty(), "destinationFrame must not be empty");
|
||||
|
||||
glm::dmat3 result;
|
||||
glm::dmat3 result = glm::dmat3(1.0);
|
||||
pxform_c(
|
||||
sourceFrame.c_str(),
|
||||
destinationFrame.c_str(),
|
||||
@@ -883,7 +883,7 @@ glm::dmat3 SpiceManager::positionTransformMatrix(const std::string& sourceFrame,
|
||||
ghoul_assert(!sourceFrame.empty(), "sourceFrame must not be empty");
|
||||
ghoul_assert(!destinationFrame.empty(), "destinationFrame must not be empty");
|
||||
|
||||
glm::dmat3 result;
|
||||
glm::dmat3 result = glm::dmat3(1.0);
|
||||
|
||||
pxfrm2_c(
|
||||
sourceFrame.c_str(),
|
||||
|
||||
Reference in New Issue
Block a user