SpiceManager - initialize default matrix; Update ghoul

This commit is contained in:
Micah Acinapura
2021-06-10 12:30:53 -04:00
parent 4f22b39a1f
commit 4d02b02081
2 changed files with 4 additions and 4 deletions

View File

@@ -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(),