Bullet Collision Detection & Physics Library: btActivatingCollisionAlgorithm.cpp Source File

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

btActivatingCollisionAlgorithm.cpp
Go to the documentation of this file.
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}
27 btActivatingCollisionAlgorithm::btActivatingCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo& ci, const btCollisionObjectWrapper*, const btCollisionObjectWrapper*)
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}
btActivatingCollisionAlgorithm.h
btCollisionDispatcher.h
btCollisionObject.h
btActivatingCollisionAlgorithm::btActivatingCollisionAlgorithm
btActivatingCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci)
Definition btActivatingCollisionAlgorithm.cpp:20
btActivatingCollisionAlgorithm::~btActivatingCollisionAlgorithm
virtual ~btActivatingCollisionAlgorithm()
Definition btActivatingCollisionAlgorithm.cpp:43
btCollisionAlgorithm
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
Definition btCollisionAlgorithm.h:54
btCollisionAlgorithmConstructionInfo
Definition btCollisionAlgorithm.h:33
btCollisionObjectWrapper
Definition btCollisionObjectWrapper.h:18