Skip to content
Snippets Groups Projects
Commit f283677d authored by jcarpent's avatar jcarpent
Browse files

[Spatial] Remove useless warning by forcing cast

parent 03dc6f77
Branches
Tags
No related merge requests found
......@@ -277,8 +277,8 @@ namespace se3
return d.se3ActionInverse(*this);
}
Vector3 act_impl (const Vector3& p) const { return rot*p+trans; }
Vector3 actInv_impl(const Vector3& p) const { return rot.transpose()*(p-trans); }
Vector3 act_impl (const Vector3& p) const { return Vector3(rot*p+trans); }
Vector3 actInv_impl(const Vector3& p) const { return Vector3(rot.transpose()*(p-trans)); }
SE3Tpl act_impl (const SE3Tpl& m2) const { return SE3Tpl( rot*m2.rot,trans+rot*m2.trans);}
SE3Tpl actInv_impl (const SE3Tpl& m2) const { return SE3Tpl( rot.transpose()*m2.rot, rot.transpose()*(m2.trans-trans));}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment