Skip to content
Snippets Groups Projects
Commit bcff4b34 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Minor comment + format

parent e31efe45
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,7 @@ Eigen::Matrix4f Helpers::CreatePose(const Eigen::Vector3f& pos, const Eigen::Mat
Eigen::Matrix3f Helpers::GetRotationMatrix(const Eigen::Vector3f& source, const Eigen::Vector3f& target)
{
// no normalization needed
return Eigen::Quaternionf::FromTwoVectors(source, target).toRotationMatrix();
}
......
......@@ -62,6 +62,7 @@ namespace math
static Eigen::Vector3f CreateVectorFromCylinderCoords(float r, float angle, float z);
static Eigen::Matrix4f TranslatePose(const Eigen::Matrix4f &pose, const Eigen::Vector3f& offset);
/// Invert the given pose in-place.
static void InvertPose(Eigen::Matrix4f& pose);
/// Return the inverted of the given pose.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment