Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/bullet/BulletCollision/CollisionDispatch/btBoxBoxDetector.h @ 10111

Last change on this file since 10111 was 8393, checked in by rgrieder, 14 years ago

Updated Bullet from v2.77 to v2.78.
(I'm not going to make a branch for that since the update from 2.74 to 2.77 hasn't been tested that much either).

You will HAVE to do a complete RECOMPILE! I tested with MSVC and MinGW and they both threw linker errors at me.

  • Property svn:eol-style set to native
File size: 1.9 KB
RevLine 
[1963]1/*
2 * Box-Box collision detection re-distributed under the ZLib license with permission from Russell L. Smith
3 * Original version is from Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith.
4 * All rights reserved.  Email: russ@q12.org   Web: www.q12.org
5
6Bullet Continuous Collision Detection and Physics Library
7Copyright (c) 2003-2006 Erwin Coumans  http://continuousphysics.com/Bullet/
8
9This software is provided 'as-is', without any express or implied warranty.
10In no event will the authors be held liable for any damages arising from the use of this software.
11Permission is granted to anyone to use this software for any purpose,
12including commercial applications, and to alter it and redistribute it freely,
13subject to the following restrictions:
14
151. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
162. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
173. This notice may not be removed or altered from any source distribution.
18*/
[8393]19#ifndef BT_BOX_BOX_DETECTOR_H
20#define BT_BOX_BOX_DETECTOR_H
[1963]21
22
23class btBoxShape;
24#include "BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
25
26
27/// btBoxBoxDetector wraps the ODE box-box collision detector
28/// re-distributed under the Zlib license with permission from Russell L. Smith
29struct btBoxBoxDetector : public btDiscreteCollisionDetectorInterface
30{
31        btBoxShape* m_box1;
32        btBoxShape* m_box2;
33
34public:
35
36        btBoxBoxDetector(btBoxShape* box1,btBoxShape* box2);
37
38        virtual ~btBoxBoxDetector() {};
39
40        virtual void    getClosestPoints(const ClosestPointInput& input,Result& output,class btIDebugDraw* debugDraw,bool swapResults=false);
41
42};
43
44#endif //BT_BOX_BOX_DETECTOR_H
Note: See TracBrowser for help on using the repository browser.