Logo Search packages:      
Sourcecode: blender version File versions

SphereShape Class Reference

#include <SphereShape.h>

Inheritance diagram for SphereShape:

ConvexShape CollisionShape

List of all members.

Detailed Description

SphereShape implements an implicit (getSupportingVertex) Sphere.

Definition at line 23 of file SphereShape.h.

Public Member Functions

virtual void BatchedUnitVectorGetSupportingVertexWithoutMargin (const SimdVector3 *vectors, SimdVector3 *supportVerticesOut, int numVectors) const
virtual void CalculateLocalInertia (SimdScalar mass, SimdVector3 &inertia)
void CalculateTemporalAabb (const SimdTransform &curTrans, const SimdVector3 &linvel, const SimdVector3 &angvel, SimdScalar timeStep, SimdVector3 &temporalAabbMin, SimdVector3 &temporalAabbMax)
virtual void GetAabb (const SimdTransform &t, SimdVector3 &aabbMin, SimdVector3 &aabbMax) const
 GetAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
virtual void GetAabbSlow (const SimdTransform &t, SimdVector3 &aabbMin, SimdVector3 &aabbMax) const
virtual float GetAngularMotionDisc () const
virtual void GetBoundingSphere (SimdVector3 &center, SimdScalar &radius) const
const char * GetExtraDebugInfo () const
virtual const SimdVector3getLocalScaling () const
virtual float GetMargin () const
virtual char * GetName () const
SimdScalar GetRadius () const
virtual int GetShapeType () const
bool IsConcave () const
bool IsConvex () const
bool IsPolyhedral () const
virtual SimdVector3 LocalGetSupportingVertex (const SimdVector3 &vec) const
virtual SimdVector3 LocalGetSupportingVertexWithoutMargin (const SimdVector3 &vec) const
void SetExtraDebugInfo (const char *extraDebugInfo)
virtual void setLocalScaling (const SimdVector3 &scaling)
virtual void SetMargin (float margin)
 SphereShape (SimdScalar radius)

Public Attributes

const char * m_tempDebug

Protected Attributes

SimdVector3 m_localScaling

Private Attributes

SimdScalar m_radius

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index