We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3828a0 commit 9ae4c95Copy full SHA for 9ae4c95
1 file changed
src/rl/sg/fcl/Shape.cpp
@@ -44,6 +44,7 @@
44
#include <boost/make_shared.hpp>
45
#endif
46
47
+#include "../Exception.h"
48
#include "Body.h"
49
#include "Shape.h"
50
@@ -232,6 +233,10 @@ namespace rl
232
233
this->geometry = ::std::make_shared<Sphere>(sphere->radius.getValue());
234
235
}
236
+ else
237
+ {
238
+ throw Exception("rl::sg::fcl::Shape::() - geometry not supported");
239
+ }
240
241
this->object = ::std::make_shared<CollisionObject>(this->geometry, Transform3());
242
0 commit comments