Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/shaders/src/external/bullet/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp @ 10422

Last change on this file since 10422 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1/*
2Bullet Continuous Collision Detection and Physics Library
3Copyright (c) 2003-2008 Erwin Coumans  http://bulletphysics.com
4
5This software is provided 'as-is', without any express or implied warranty.
6In no event will the authors be held liable for any damages arising from the use of this software.
7Permission is granted to anyone to use this software for any purpose,
8including commercial applications, and to alter it and redistribute it freely,
9subject to the following restrictions:
10
111. 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.
122. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
133. This notice may not be removed or altered from any source distribution.
14*/
15
16#include "btActivatingCollisionAlgorithm.h"
17#include "btCollisionDispatcher.h"
18#include "btCollisionObject.h"
19
20btActivatingCollisionAlgorithm::btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo& ci)
21:btCollisionAlgorithm(ci)
22//,
23//m_colObj0(0),
24//m_colObj1(0)
25{
26}
27btActivatingCollisionAlgorithm::btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo& ci, btCollisionObject* colObj0,btCollisionObject* colObj1)
28:btCollisionAlgorithm(ci)
29//,
30//m_colObj0(0),
31//m_colObj1(0)
32{
33//      if (ci.m_dispatcher1->needsCollision(colObj0,colObj1))
34//      {
35//              m_colObj0 = colObj0;
36//              m_colObj1 = colObj1;
37//             
38//              m_colObj0->activate();
39//              m_colObj1->activate();
40//      }
41}
42
43btActivatingCollisionAlgorithm::~btActivatingCollisionAlgorithm()
44{
45//              m_colObj0->activate();
46//              m_colObj1->activate();
47}
Note: See TracBrowser for help on using the repository browser.