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

Fix usage of topLeftCorner()

parent dadb9d38
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,11 @@
namespace simox::math
{
inline bool is_homogeneous_transform(
const Eigen::Matrix4f& mat,
const Eigen::Matrix4f& mat,
float precision = 1e-6f)
{
return is_rotation_matrix(mat.template top_left_corner<3,3>(), precision) &&
is_finite(mat.template topRightCornery<3,1>()) &&
return is_rotation_matrix(mat.template topLeftCorner<3, 3>(), precision) &&
is_finite(mat.template topRightCorner<3, 1>()) &&
std::abs(mat(3,0)) < precision &&
std::abs(mat(3,1)) < precision &&
std::abs(mat(3,2)) < precision &&
......
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