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 | |
![]() | |
btConvexInternalShape () | |
![]() | |
btConvexPolyhedron * | m_polyhedron |
![]() | |
btVector3 | m_localScaling |
btVector3 | m_implicitShapeDimensions |
btScalar | m_collisionMargin |
btScalar | m_padding |
![]() | |
int | m_shapeType |
void * | m_userPointer |
int | m_userIndex |
int | m_userIndex2 |
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 85 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btPolyhedralConvexShape.
Definition at line 71 of file btBox2dShape.h.
btBox2dShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btPolyhedralConvexShape.
Definition at line 25 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 20 of file btBox2dShape.cpp.
Definition at line 164 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 218 of file btBox2dShape.h.
|
inline |
Definition at line 38 of file btBox2dShape.h.
Definition at line 46 of file btBox2dShape.h.
Implements btCollisionShape.
Definition at line 301 of file btBox2dShape.h.
Definition at line 150 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 174 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 169 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 306 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 140 of file btBox2dShape.h.
|
inlinevirtual |
Implements btPolyhedralConvexShape.
Definition at line 155 of file btBox2dShape.h.
Definition at line 189 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 311 of file btBox2dShape.h.
Implements btPolyhedralConvexShape.
Definition at line 179 of file btBox2dShape.h.
|
inline |
Definition at line 135 of file btBox2dShape.h.
Definition at line 145 of file btBox2dShape.h.
|
inlinevirtual |
Implements btPolyhedralConvexShape.
Definition at line 284 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 51 of file btBox2dShape.h.
|
inlinevirtual |
Reimplemented from btPolyhedralConvexShape.
Definition at line 62 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 120 of file btBox2dShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 110 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.