Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btBoxBoxDetector Struct Reference

btBoxBoxDetector wraps the ODE box-box collision detector re-distributed under the Zlib license with permission from Russell L. More...

#include <btBoxBoxDetector.h>

Inheritance diagram for btBoxBoxDetector:
Inheritance graph
[legend]
Collaboration diagram for btBoxBoxDetector:
Collaboration graph
[legend]

Public Member Functions

 btBoxBoxDetector (const btBoxShape *box1, const btBoxShape *box2)
 ODE box-box collision detection is adapted to work with Bullet. More...
 
virtual ~btBoxBoxDetector ()
 
virtual void getClosestPoints (const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
 
- Public Member Functions inherited from btDiscreteCollisionDetectorInterface
virtual ~btDiscreteCollisionDetectorInterface ()
 

Public Attributes

const btBoxShapem_box1
 
const btBoxShapem_box2
 

Detailed Description

btBoxBoxDetector wraps the ODE box-box collision detector re-distributed under the Zlib license with permission from Russell L.

Smith

Definition at line 29 of file btBoxBoxDetector.h.

Constructor & Destructor Documentation

btBoxBoxDetector::btBoxBoxDetector ( const btBoxShape box1,
const btBoxShape box2 
)

ODE box-box collision detection is adapted to work with Bullet.

Definition at line 27 of file btBoxBoxDetector.cpp.

virtual btBoxBoxDetector::~btBoxBoxDetector ( )
inlinevirtual

Definition at line 38 of file btBoxBoxDetector.h.

Member Function Documentation

void btBoxBoxDetector::getClosestPoints ( const ClosestPointInput input,
Result output,
class btIDebugDraw debugDraw,
bool  swapResults = false 
)
virtual

Implements btDiscreteCollisionDetectorInterface.

Definition at line 673 of file btBoxBoxDetector.cpp.

Member Data Documentation

const btBoxShape* btBoxBoxDetector::m_box1

Definition at line 31 of file btBoxBoxDetector.h.

const btBoxShape* btBoxBoxDetector::m_box2

Definition at line 32 of file btBoxBoxDetector.h.


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