Bullet Collision Detection & Physics Library
|
The btConvex2dShape allows to use arbitrary convex shapes as 2d convex shapes, with the Z component assumed to be 0. More...
#include <btConvex2dShape.h>
Private Attributes | |
btConvexShape * | m_childConvexShape |
Additional Inherited Members | |
![]() | |
int | m_shapeType |
void * | m_userPointer |
int | m_userIndex |
int | m_userIndex2 |
The btConvex2dShape allows to use arbitrary convex shapes as 2d convex shapes, with the Z component assumed to be 0.
For 2d boxes, the btBox2dShape is recommended.
Definition at line 24 of file btConvex2dShape.h.
btConvex2dShape::btConvex2dShape | ( | btConvexShape * | convexChildShape | ) |
Definition at line 18 of file btConvex2dShape.cpp.
|
virtual |
Definition at line 23 of file btConvex2dShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 32 of file btConvex2dShape.cpp.
btConvex2dShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
this linear upscaling is not realistic, but we don't deal with large mass ratios...
Implements btCollisionShape.
Definition at line 42 of file btConvex2dShape.cpp.
|
virtual |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
Implements btConvexShape.
Definition at line 49 of file btConvex2dShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 54 of file btConvex2dShape.cpp.
|
inline |
Definition at line 44 of file btConvex2dShape.h.
|
inline |
Definition at line 49 of file btConvex2dShape.h.
Implements btConvexShape.
Definition at line 64 of file btConvex2dShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 73 of file btConvex2dShape.cpp.
Implements btCollisionShape.
Definition at line 54 of file btConvex2dShape.h.
|
virtual |
Implements btConvexShape.
Definition at line 78 of file btConvex2dShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 83 of file btConvex2dShape.cpp.
Implements btConvexShape.
Definition at line 37 of file btConvex2dShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 27 of file btConvex2dShape.cpp.
Implements btConvexShape.
Definition at line 59 of file btConvex2dShape.cpp.
Implements btConvexShape.
Definition at line 69 of file btConvex2dShape.cpp.
|
private |
Definition at line 27 of file btConvex2dShape.h.