Bullet Collision Detection & Physics Library
btCollisionObjectWrapper.h
Go to the documentation of this file.
1#ifndef BT_COLLISION_OBJECT_WRAPPER_H
2#define BT_COLLISION_OBJECT_WRAPPER_H
3
8class btTransform;
9#include "LinearMath/btScalar.h" // for SIMD_FORCE_INLINE definition
10
11#define BT_DECLARE_STACK_ONLY_OBJECT \
12private: \
13 void* operator new(size_t size); \
14 void operator delete(void*);
15
18{
20
21private:
22 btCollisionObjectWrapper(const btCollisionObjectWrapper&); // not implemented. Not allowed.
24
25public:
33
36 {
37 }
38
41 {
42 }
43
47};
48
49#endif //BT_COLLISION_OBJECT_WRAPPER_H
#define BT_DECLARE_STACK_ONLY_OBJECT
const T & btMax(const T &a, const T &b)
Definition btMinMax.h:27
#define SIMD_FORCE_INLINE
Definition btScalar.h:98
btCollisionObject can be used to manage collision detection objects.
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
The btTransform class supports rigid transforms with only translation and rotation and no scaling/she...
Definition btTransform.h:30
btCollisionObjectWrapper(const btCollisionObjectWrapper *parent, const btCollisionShape *shape, const btCollisionObject *collisionObject, const btTransform &worldTransform, const btTransform &preTransform, int partId, int index)
const btCollisionShape * getCollisionShape() const
const btCollisionObject * getCollisionObject() const
btCollisionObjectWrapper * operator=(const btCollisionObjectWrapper &)
btCollisionObjectWrapper(const btCollisionObjectWrapper *parent, const btCollisionShape *shape, const btCollisionObject *collisionObject, const btTransform &worldTransform, int partId, int index)
const btCollisionObject * m_collisionObject
const btTransform & getWorldTransform() const
const btCollisionShape * m_shape
const btCollisionObjectWrapper * m_parent
btCollisionObjectWrapper(const btCollisionObjectWrapper &)