BulletBroadphaseInterface.kl

Interfaces

BulletBroadphaseAabbCallback (interface)

BulletBroadphaseAabbCallback BulletBroadphaseAabbCallback BulletBroadphaseAabbCallback

Functions

Data getPointer ? ()
Boolean process ! ( in BulletBroadphaseProxy proxy )

Functions in detail

Data BulletBroadphaseAabbCallback.getPointer? ()


Boolean BulletBroadphaseAabbCallback.process! ( in BulletBroadphaseProxy proxy )

BulletBroadphaseInterface (interface)

The BulletBroadphaseInterface class provides an interface to detect aabb-overlapping object pairs. Some implementations for this broadphase interface include BulletAxisSweep3, Bullet32BitAxisSweep3 and BulletDbvtBroadphase. The actual overlapping pair management, storage, adding and removing of pairs is dealt by the BulletOverlappingPairCache class.

BulletBroadphaseInterface BulletBroadphaseInterface BulletBroadphaseInterface Bullet32BitAxisSweep3 Bullet32BitAxisSweep3 Bullet32BitAxisSweep3->BulletBroadphaseInterface BulletAxisSweep3 BulletAxisSweep3 BulletAxisSweep3->BulletBroadphaseInterface BulletDbvtBroadphase BulletDbvtBroadphase BulletDbvtBroadphase->BulletBroadphaseInterface

Functions

  aabbTest ? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )
  calculateOverlappingPairs ! ( in BulletDispatcher dispatcher )
  getBroadphaseAabb ? ( io Vec3 aabbMin, io Vec3 aabbMax )
BulletOverlappingPairCache getOverlappingPairCache ? ()
Data getPointer ? ()
  resetPool ! ( in BulletDispatcher dispatcher )

Functions in detail

BulletBroadphaseInterface.aabbTest? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )


BulletBroadphaseInterface.calculateOverlappingPairs! ( in BulletDispatcher dispatcher )

calculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb


BulletBroadphaseInterface.getBroadphaseAabb? ( io Vec3 aabbMin, io Vec3 aabbMax )

getAabb returns the axis aligned bounding box in the ‘global’ coordinate frame will add some transform later


BulletOverlappingPairCache BulletBroadphaseInterface.getOverlappingPairCache? ()


Data BulletBroadphaseInterface.getPointer? ()


BulletBroadphaseInterface.resetPool! ( in BulletDispatcher dispatcher )

reset broadphase internal structures, to ensure determinism/reproducability