Skip to content
Snippets Groups Projects
Commit 98f88594 authored by jpan's avatar jpan
Browse files

a small bug in fcl

git-svn-id: https://kforge.ros.org/fcl/fcl_ros@162 253336fb-580f-4252-a368-f3cef5a2a82b
parent a2268fe0
No related branches found
No related tags found
No related merge requests found
......@@ -170,12 +170,12 @@ public:
{
if(t.getQuatRotation().isIdentity())
{
aabb = cgeom->aabb_local;
aabb = translate(cgeom->aabb_local, t.getTranslation());
}
else
{
Vec3f center = t.transform(cgeom->aabb_center);
Vec3f delta(cgeom->aabb_radius, cgeom->aabb_radius, cgeom->aabb_radius);
Vec3f delta(cgeom->aabb_radius);
aabb.min_ = center - delta;
aabb.max_ = center + delta;
}
......
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