@NoOffset @Properties(inherit=BulletCollision.class) public class btSimpleBroadphase extends btBroadphaseInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btSimpleBroadphase() |
btSimpleBroadphase(int maxProxies,
btOverlappingPairCache overlappingPairCache) |
btSimpleBroadphase(long size)
Native array allocator.
|
btSimpleBroadphase(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
aabbOverlap(btSimpleBroadphaseProxy proxy0,
btSimpleBroadphaseProxy proxy1) |
void |
aabbTest(btVector3 aabbMin,
btVector3 aabbMax,
btBroadphaseAabbCallback callback) |
void |
calculateOverlappingPairs(btDispatcher dispatcher)
calculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb
|
btBroadphaseProxy |
createProxy(btVector3 aabbMin,
btVector3 aabbMax,
int shapeType,
Pointer userPtr,
int collisionFilterGroup,
int collisionFilterMask,
btDispatcher dispatcher) |
void |
destroyProxy(btBroadphaseProxy proxy,
btDispatcher dispatcher) |
void |
getAabb(btBroadphaseProxy proxy,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
getBroadphaseAabb(btVector3 aabbMin,
btVector3 aabbMax)
getAabb returns the axis aligned bounding box in the 'global' coordinate frame
will add some transform later
|
btOverlappingPairCache |
getOverlappingPairCache() |
btSimpleBroadphase |
getPointer(long i) |
btSimpleBroadphase |
position(long position) |
void |
printStats() |
void |
rayTest(btVector3 rayFrom,
btVector3 rayTo,
btBroadphaseRayCallback rayCallback) |
void |
rayTest(btVector3 rayFrom,
btVector3 rayTo,
btBroadphaseRayCallback rayCallback,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
setAabb(btBroadphaseProxy proxy,
btVector3 aabbMin,
btVector3 aabbMax,
btDispatcher dispatcher) |
boolean |
testAabbOverlap(btBroadphaseProxy proxy0,
btBroadphaseProxy proxy1) |
resetPooladdress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btSimpleBroadphase(Pointer p)
Pointer(Pointer).public btSimpleBroadphase(long size)
Pointer.position(long).public btSimpleBroadphase(int maxProxies,
btOverlappingPairCache overlappingPairCache)
public btSimpleBroadphase()
public btSimpleBroadphase position(long position)
public btSimpleBroadphase getPointer(long i)
getPointer in class Pointer@Cast(value="bool") public static boolean aabbOverlap(btSimpleBroadphaseProxy proxy0, btSimpleBroadphaseProxy proxy1)
public btBroadphaseProxy createProxy(@Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax, int shapeType, Pointer userPtr, int collisionFilterGroup, int collisionFilterMask, btDispatcher dispatcher)
createProxy in class btBroadphaseInterfacepublic void calculateOverlappingPairs(btDispatcher dispatcher)
btBroadphaseInterfacecalculateOverlappingPairs in class btBroadphaseInterfacepublic void destroyProxy(btBroadphaseProxy proxy, btDispatcher dispatcher)
destroyProxy in class btBroadphaseInterfacepublic void setAabb(btBroadphaseProxy proxy, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax, btDispatcher dispatcher)
setAabb in class btBroadphaseInterfacepublic void getAabb(btBroadphaseProxy proxy, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
getAabb in class btBroadphaseInterfacepublic void rayTest(@Const @ByRef btVector3 rayFrom, @Const @ByRef btVector3 rayTo, @ByRef btBroadphaseRayCallback rayCallback, @Const @ByRef(nullValue="btVector3(0, 0, 0)") btVector3 aabbMin, @Const @ByRef(nullValue="btVector3(0, 0, 0)") btVector3 aabbMax)
rayTest in class btBroadphaseInterfacepublic void rayTest(@Const @ByRef btVector3 rayFrom, @Const @ByRef btVector3 rayTo, @ByRef btBroadphaseRayCallback rayCallback)
rayTest in class btBroadphaseInterfacepublic void aabbTest(@Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax, @ByRef btBroadphaseAabbCallback callback)
aabbTest in class btBroadphaseInterfacepublic btOverlappingPairCache getOverlappingPairCache()
getOverlappingPairCache in class btBroadphaseInterface@Cast(value="bool") public boolean testAabbOverlap(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1)
public void getBroadphaseAabb(@ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
getBroadphaseAabb in class btBroadphaseInterfacepublic void printStats()
printStats in class btBroadphaseInterfaceCopyright © 2024. All rights reserved.