Magnum/BulletIntegration/ConvertShape.h file

Function Magnum::BulletIntegration::convertShape()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::BulletIntegration
Integration with Bullet Physics.

Functions

auto convertShape(SceneGraph::AbstractBasicObject3D<btScalar>& object, const btCollisionShape& shape, Shapes::ShapeGroup3D* shapes = nullptr) -> Shapes::AbstractShape3D* deprecated
Convert generic Bullet collision shape to Magnum shape.
auto convertShape(SceneGraph::AbstractBasicObject3D<btScalar>& object, const btBoxShape& box, Shapes::ShapeGroup3D* shapes = nullptr) -> Shapes::Shape<Shapes::Box3D>* deprecated
Convert box Bullet collision shape to Magnum shape.
auto convertShape(SceneGraph::AbstractBasicObject3D<btScalar>& object, const btSphereShape& sphere, Shapes::ShapeGroup3D* shapes = nullptr) -> Shapes::Shape<Shapes::Sphere3D>* deprecated
Convert sphere Bullet collision shape to Magnum shape.