Blender
V3.3
|
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive bounding box calculations More...
#include <btConvexInternalShape.h>
Public Member Functions | |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
void | recalcLocalAabb () |
Protected Member Functions | |
btConvexInternalAabbCachingShape () | |
void | setCachedLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax) |
void | getCachedLocalAabb (btVector3 &aabbMin, btVector3 &aabbMax) const |
void | getNonvirtualAabb (const btTransform &trans, btVector3 &aabbMin, btVector3 &aabbMax, btScalar margin) const |
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive bounding box calculations
Definition at line 170 of file btConvexInternalShape.h.
|
protected |
Definition at line 74 of file btConvexInternalShape.cpp.
|
virtual |
Definition at line 82 of file btConvexInternalShape.cpp.
References getMargin(), and getNonvirtualAabb().
|
inlineprotected |
Definition at line 186 of file btConvexInternalShape.h.
References btAssert, m_localAabbMax, and m_localAabbMin.
|
inlineprotected |
Definition at line 193 of file btConvexInternalShape.h.
References btAssert, btTransformAabb(), m_localAabbMax, and m_localAabbMin.
Referenced by getAabb().
void btConvexInternalAabbCachingShape::recalcLocalAabb | ( | ) |
Definition at line 93 of file btConvexInternalShape.cpp.
References batchedUnitVectorGetSupportingVertexWithoutMargin(), btVector3, and localGetSupportingVertex().
Referenced by setLocalScaling().
|
inlineprotected |
Definition at line 179 of file btConvexInternalShape.h.
References m_localAabbMax, and m_localAabbMin.
Definition at line 87 of file btConvexInternalShape.cpp.
References recalcLocalAabb(), and setLocalScaling().