|
Bullet Collision Detection & Physics Library
|
The btBox2dShape is a box primitive around the origin, its sides axis aligned with length specified by half extents, in local shape coordinates. When used as part of a btCollisionObject or btRigidBody it will be an oriented box in world space. More...
#include <btBox2dShape.h>


Private Attributes | |
| btVector3 | m_centroid |
| btVector3 | m_vertices [4] |
| btVector3 | m_normals [4] |
Additional Inherited Members | |
Protected Member Functions inherited from btConvexInternalShape | |
| btConvexInternalShape () | |
Protected Attributes inherited from btPolyhedralConvexShape | |
| btConvexPolyhedron * | m_polyhedron |
Protected Attributes inherited from btConvexInternalShape | |
| btVector3 | m_localScaling |
| btVector3 | m_implicitShapeDimensions |
| btScalar | m_collisionMargin |
| btScalar | m_padding |
Protected Attributes inherited from btCollisionShape | |
| int | m_shapeType |
| void * | m_userPointer |
| int | m_userIndex |
The btBox2dShape is a box primitive around the origin, its sides axis aligned with length specified by half extents, in local shape coordinates. When used as part of a btCollisionObject or btRigidBody it will be an oriented box in world space.
Definition at line 26 of file btBox2dShape.h.
a btBox2dShape is a flat 2D box in the X-Y plane (Z extents are zero)
Definition at line 89 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btPolyhedralConvexShape.
Definition at line 73 of file btBox2dShape.h.
| btBox2dShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btPolyhedralConvexShape.
Definition at line 28 of file btBox2dShape.cpp.
|
virtual |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
Implements btConvexShape.
Definition at line 22 of file btBox2dShape.cpp.
Definition at line 183 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 242 of file btBox2dShape.h.
|
inline |
Definition at line 39 of file btBox2dShape.h.
Definition at line 47 of file btBox2dShape.h.
Implements btCollisionShape.
Definition at line 331 of file btBox2dShape.h.
Definition at line 162 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 195 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 188 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 336 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 152 of file btBox2dShape.h.
|
inlinevirtual |
Implements btPolyhedralConvexShape.
Definition at line 173 of file btBox2dShape.h.
Definition at line 212 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 341 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 201 of file btBox2dShape.h.
|
inline |
Definition at line 147 of file btBox2dShape.h.
Definition at line 157 of file btBox2dShape.h.
|
inlinevirtual |
Implements btPolyhedralConvexShape.
Definition at line 313 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 53 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btPolyhedralConvexShape.
Definition at line 64 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 125 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 114 of file btBox2dShape.h.
|
private |
Definition at line 31 of file btBox2dShape.h.
|
private |
Definition at line 33 of file btBox2dShape.h.
|
private |
Definition at line 32 of file btBox2dShape.h.