Logo Search packages:      
Sourcecode: blender version File versions  Download package

SphereTriangleDetector Struct Reference

#include <SphereTriangleDetector.h>

Inheritance diagram for SphereTriangleDetector:

btDiscreteCollisionDetectorInterface

List of all members.


Detailed Description

sphere-triangle to match the btDiscreteCollisionDetectorInterface

Definition at line 29 of file SphereTriangleDetector.h.


Public Member Functions

virtual void getClosestPoints (const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw)
 SphereTriangleDetector (btSphereShape *sphere, btTriangleShape *triangle)

Private Member Functions

bool collide (const btVector3 &sphereCenter, btVector3 &point, btVector3 &resultNormal, btScalar &depth, btScalar &timeOfImpact)
 combined discrete/continuous sphere-triangle
bool facecontains (const btVector3 &p, const btVector3 *vertices, btVector3 &normal)
bool pointInTriangle (const btVector3 vertices[], const btVector3 &normal, btVector3 *p)

Private Attributes

btSphereShape * m_sphere
btTriangleShape * m_triangle

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

Generated by  Doxygen 1.6.0   Back to index