Skip to content
Snippets Groups Projects
Commit a48e934b authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Add Converter from AABB to OBBRSS

parent e9d9f0e5
No related branches found
No related tags found
No related merge requests found
......@@ -281,6 +281,17 @@ public:
}
};
template<>
class Converter<AABB, OBBRSS>
{
public:
static void convert(const AABB& bv1, const Transform3f& tf1, OBBRSS& bv2)
{
Converter<AABB, OBB>::convert(bv1, tf1, bv2.obb);
Converter<AABB, RSS>::convert(bv1, tf1, bv2.rss);
}
};
}
/// @endcond
......
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