Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 11:45:51 PM (17 years ago)
Author:
rgrieder
Message:

Updated to Bullet 2.73 (first part).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h

    r2192 r2430  
    11/*
    22Bullet Continuous Collision Detection and Physics Library
    3 Copyright (c) 2003-2006 Erwin Coumans  http://continuousphysics.com/Bullet/
     3Copyright (c) 2003-2006 Erwin Coumans  http://bulletphysics.com/Bullet/
    44
    55This software is provided 'as-is', without any express or implied warranty.
     
    2323 * 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 ).
    2424 *
    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.php
     25 * There is the Physics Forum for feedback and general Collision Detection and Physics discussions.
     26 * Please visit http://www.bulletphysics.com
    2727 *
    2828 * @section install_sec Installation
    2929 *
    3030 * @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
    3232 * @subsection step2 Step 2: Building
    3333 * Bullet comes with autogenerated Project Files for Microsoft Visual Studio 6, 7, 7.1 and 8.
    3434 * The main Workspace/Solution is located in Bullet/msvc/8/wksbullet.sln (replace 8 with your version).
    3535 *
    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.
    3737 * 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.
    3838 * 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
    4040 *
    4141 * @subsection step3 Step 3: Testing demos
     
    7272#include "LinearMath/btTransform.h"
    7373#include "btCollisionObject.h"
    74 #include "btCollisionDispatcher.h" //for definition of btCollisionObjectArray
     74#include "btCollisionDispatcher.h"
    7575#include "BulletCollision/BroadphaseCollision/btOverlappingPairCache.h"
    7676#include "LinearMath/btAlignedObjectArray.h"
     
    108108        }
    109109
     110        const btBroadphaseInterface*    getBroadphase() const
     111        {
     112                return m_broadphasePairCache;
     113        }
     114
    110115        btBroadphaseInterface*  getBroadphase()
    111116        {
     
    131136        virtual void    updateAabbs();
    132137
     138       
    133139        virtual void    setDebugDrawer(btIDebugDraw*    debugDrawer)
    134140        {
     
    348354        // convexTest performs a swept convex cast on all objects in the btCollisionWorld, and calls the resultCallback
    349355        // 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;
    351357
    352358
Note: See TracChangeset for help on using the changeset viewer.