Bullet Collision Detection & Physics Library
btGjkCollisionDescription.h
Go to the documentation of this file.
1 /*
2 Bullet Continuous Collision Detection and Physics Library
3 Copyright (c) 2003-2014 Erwin Coumans http://bulletphysics.org
4 
5 This software is provided 'as-is', without any express or implied warranty.
6 In no event will the authors be held liable for any damages arising from the use of this software.
7 Permission is granted to anyone to use this software for any purpose,
8 including commercial applications, and to alter it and redistribute it freely,
9 subject to the following restrictions:
10 
11 1. 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.
12 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
13 3. This notice may not be removed or altered from any source distribution.
14 */
15 
16 #ifndef GJK_COLLISION_DESCRIPTION_H
17 #define GJK_COLLISION_DESCRIPTION_H
18 
19 #include "LinearMath/btVector3.h"
20 
22 {
28  : m_firstDir(0, 1, 0),
29  m_maxGjkIterations(1000),
31  m_gjkRelError2(1.0e-6)
32  {
33  }
35  {
36  }
37 };
38 
39 #endif //GJK_COLLISION_DESCRIPTION_H
btGjkCollisionDescription::~btGjkCollisionDescription
virtual ~btGjkCollisionDescription()
Definition: btGjkCollisionDescription.h:34
btScalar
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
Definition: btScalar.h:294
btGjkCollisionDescription
Definition: btGjkCollisionDescription.h:21
btGjkCollisionDescription::m_maximumDistanceSquared
btScalar m_maximumDistanceSquared
Definition: btGjkCollisionDescription.h:25
btGjkCollisionDescription::btGjkCollisionDescription
btGjkCollisionDescription()
Definition: btGjkCollisionDescription.h:27
btGjkCollisionDescription::m_firstDir
btVector3 m_firstDir
Definition: btGjkCollisionDescription.h:23
btVector3.h
btVector3
btVector3 can be used to represent 3D points and vectors.
Definition: btVector3.h:80
btGjkCollisionDescription::m_gjkRelError2
btScalar m_gjkRelError2
Definition: btGjkCollisionDescription.h:26
btGjkCollisionDescription::m_maxGjkIterations
int m_maxGjkIterations
Definition: btGjkCollisionDescription.h:24