Blender
V3.3
|
Go to the source code of this file.
Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btUniformScalingShape (btConvexShape *convexChildShape, btScalar uniformScalingFactor) | |
virtual | ~btUniformScalingShape () |
virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
btConvexShape Interface More... | |
virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
CollisionShape Interface. More... | |
btScalar | getUniformScalingFactor () const |
btConvexShape * | getChildShape () |
virtual const char * | getName () const |
getName is for debugging More... | |
void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version More... | |
virtual void | getAabbSlow (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
virtual void | setLocalScaling (const btVector3 &scaling) |
in case we receive negative scaling More... | |
virtual const btVector3 & | getLocalScaling () const |
virtual void | setMargin (btScalar margin) |
virtual btScalar | getMargin () const |
virtual int | getNumPreferredPenetrationDirections () const |
virtual void | getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const |
Variables | |
btUniformScalingShape | __pad0__ |
btScalar | m_uniformScalingFactor |
|
virtual |
Definition at line 71 of file btBox2dShape.h.
References btFsels, btVector3, getHalfExtentsWithoutMargin(), and m_vertices1.
Referenced by btConvexInternalAabbCachingShape::recalcLocalAabb(), and btPolyhedralConvexAabbCachingShape::recalcLocalAabb().
BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
btUniformScalingShape::btUniformScalingShape | ( | btConvexShape * | convexChildShape, |
btScalar | uniformScalingFactor | ||
) |
Definition at line 18 of file btUniformScalingShape.cpp.
References UNIFORM_SCALING_SHAPE_PROXYTYPE.
CollisionShape Interface.
Definition at line 54 of file btConeShape.h.
void getAabb | ( | const btTransform & | t, |
btVector3 & | aabbMin, | ||
btVector3 & | aabbMax | ||
) | const |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Definition at line 54 of file btCapsuleShape.h.
References getAabbSlow(), and t.
|
virtual |
btConvexShape* getChildShape | ( | ) |
Definition at line 51 of file btUniformScalingShape.h.
|
virtual |
Definition at line 126 of file btCompoundShape.h.
References m_localScaling.
|
virtual |
Definition at line 137 of file btCompoundShape.h.
References getRadius(), and m_collisionMargin.
Referenced by setSafeMargin().
|
virtual |
getName is for debugging
Definition at line 61 of file btUniformScalingShape.h.
|
virtual |
Definition at line 306 of file btBox2dShape.h.
|
virtual |
Definition at line 311 of file btBox2dShape.h.
References btAssert, calcNormal(), and void.
btScalar getUniformScalingFactor | ( | ) | const |
Definition at line 46 of file btUniformScalingShape.h.
References m_uniformScalingFactor.
Definition at line 51 of file btBox2dShape.h.
References btFsels, btVector3, getHalfExtentsWithoutMargin(), getMargin(), localGetSupportingVertexWithoutMargin(), and SIMD_EPSILON.
Referenced by getPlane(), btConvexInternalAabbCachingShape::recalcLocalAabb(), and btPolyhedralConvexAabbCachingShape::recalcLocalAabb().
btConvexShape Interface
Definition at line 62 of file btBox2dShape.h.
References btAssert, btFsels, btVector3, getHalfExtentsWithoutMargin(), localGetSupportingVertex(), and m_vertices1.
Referenced by localGetSupportVertexWithoutMarginNonVirtual().
in case we receive negative scaling
Definition at line 120 of file btBox2dShape.h.
References btVector3, getMargin(), m_collisionMargin, m_implicitShapeDimensions, m_localScaling, and m_upAxis.
Referenced by btConvexInternalAabbCachingShape::setLocalScaling(), btPolyhedralConvexAabbCachingShape::setLocalScaling(), and setOptimizedBvh().
Definition at line 110 of file btBox2dShape.h.
References btVector3, getMargin(), m_collisionMargin, m_implicitShapeDimensions, and void.
Referenced by btSoftClusterCollisionShape::setMargin(), setSafeMargin(), and setUnscaledRadius().
|
virtual |
Definition at line 23 of file btUniformScalingShape.cpp.
btUniformScalingShape __pad0__ |
The btUniformScalingShape allows to re-use uniform scaled instances of btConvexShape in a memory efficient way. Istead of using btUniformScalingShape, it is better to use the non-uniform setLocalScaling method on convex shapes that implement it.
Definition at line 25 of file btUniformScalingShape.h.
btScalar m_uniformScalingFactor |
Definition at line 29 of file btUniformScalingShape.h.
Referenced by getUniformScalingFactor().