Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h
- Timestamp:
- Dec 13, 2008, 11:45:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h
r2192 r2430 1 1 /* 2 2 Bullet Continuous Collision Detection and Physics Library 3 Copyright (c) 2003-2006 Erwin Coumans http:// continuousphysics.com/Bullet/3 Copyright (c) 2003-2006 Erwin Coumans http://bulletphysics.com/Bullet/ 4 4 5 5 This software is provided 'as-is', without any express or implied warranty. … … 23 23 * Bullet is a Collision Detection and Rigid Body Dynamics Library. The Library is Open Source and free for commercial use, under the ZLib license ( http://opensource.org/licenses/zlib-license.php ). 24 24 * 25 * There is the Physics Forum for Feedback and bteral Collision Detection and Physics discussions.26 * Please visit http://www. continuousphysics.com/Bullet/phpBB2/index.php25 * There is the Physics Forum for feedback and general Collision Detection and Physics discussions. 26 * Please visit http://www.bulletphysics.com 27 27 * 28 28 * @section install_sec Installation 29 29 * 30 30 * @subsection step1 Step 1: Download 31 * You can download the Bullet Physics Library from our website: http://www.continuousphysics.com/Bullet/31 * You can download the Bullet Physics Library from the Google Code repository: http://code.google.com/p/bullet/downloads/list 32 32 * @subsection step2 Step 2: Building 33 33 * Bullet comes with autogenerated Project Files for Microsoft Visual Studio 6, 7, 7.1 and 8. 34 34 * The main Workspace/Solution is located in Bullet/msvc/8/wksbullet.sln (replace 8 with your version). 35 35 * 36 * Under other platforms, like Linux or Mac OS-X, Bullet can be build using either using make, cmake, http://www.cmake.org , or jam, http://www.perforce.com/jam/jam.html . cmake can autogenerate Xcode, KDevelop, MSVC and other build systems. just run cmake . in the root of Bullet.36 * Under other platforms, like Linux or Mac OS-X, Bullet can be build using either using make, cmake, http://www.cmake.org , or jam, http://www.perforce.com/jam/jam.html . cmake can autogenerate Xcode, KDevelop, MSVC and other build systems. just run cmake . in the root of Bullet. 37 37 * So if you are not using MSVC or cmake, you can run ./autogen.sh ./configure to create both Makefile and Jamfile and then run make or jam. 38 38 * Jam is a build system that can build the library, demos and also autogenerate the MSVC Project Files. 39 * If you don't have jam installed, you can make jam from the included jam-2.5 sources, or download jam from ftp://ftp.perforce.com/ pub/jam/39 * If you don't have jam installed, you can make jam from the included jam-2.5 sources, or download jam from ftp://ftp.perforce.com/jam 40 40 * 41 41 * @subsection step3 Step 3: Testing demos … … 72 72 #include "LinearMath/btTransform.h" 73 73 #include "btCollisionObject.h" 74 #include "btCollisionDispatcher.h" //for definition of btCollisionObjectArray74 #include "btCollisionDispatcher.h" 75 75 #include "BulletCollision/BroadphaseCollision/btOverlappingPairCache.h" 76 76 #include "LinearMath/btAlignedObjectArray.h" … … 108 108 } 109 109 110 const btBroadphaseInterface* getBroadphase() const 111 { 112 return m_broadphasePairCache; 113 } 114 110 115 btBroadphaseInterface* getBroadphase() 111 116 { … … 131 136 virtual void updateAabbs(); 132 137 138 133 139 virtual void setDebugDrawer(btIDebugDraw* debugDrawer) 134 140 { … … 348 354 // convexTest performs a swept convex cast on all objects in the btCollisionWorld, and calls the resultCallback 349 355 // This allows for several queries: first hit, all hits, any hit, dependent on the value return by the callback. 350 void convexSweepTest (const btConvexShape* castShape, const btTransform& from, const btTransform& to, ConvexResultCallback& resultCallback ) const;356 void convexSweepTest (const btConvexShape* castShape, const btTransform& from, const btTransform& to, ConvexResultCallback& resultCallback, btScalar allowedCcdPenetration = btScalar(0.)) const; 351 357 352 358
Note: See TracChangeset
for help on using the changeset viewer.