@NoOffset @Properties(inherit=BulletCollision.class) public class SphereTriangleDetector extends btDiscreteCollisionDetectorInterface
btDiscreteCollisionDetectorInterface.ClosestPointInput, btDiscreteCollisionDetectorInterface.ResultPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SphereTriangleDetector(btSphereShape sphere,
btTriangleShape triangle,
double contactBreakingThreshold) |
SphereTriangleDetector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
collide(btVector3 sphereCenter,
btVector3 point,
btVector3 resultNormal,
double[] depth,
double[] timeOfImpact,
double contactBreakingThreshold) |
boolean |
collide(btVector3 sphereCenter,
btVector3 point,
btVector3 resultNormal,
DoubleBuffer depth,
DoubleBuffer timeOfImpact,
double contactBreakingThreshold) |
boolean |
collide(btVector3 sphereCenter,
btVector3 point,
btVector3 resultNormal,
DoublePointer depth,
DoublePointer timeOfImpact,
double contactBreakingThreshold) |
void |
getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input,
btDiscreteCollisionDetectorInterface.Result output,
btIDebugDraw debugDraw) |
void |
getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input,
btDiscreteCollisionDetectorInterface.Result output,
btIDebugDraw debugDraw,
boolean swapResults) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic SphereTriangleDetector(Pointer p)
Pointer(Pointer).public SphereTriangleDetector(btSphereShape sphere, btTriangleShape triangle, @Cast(value="btScalar") double contactBreakingThreshold)
public void getClosestPoints(@Const @ByRef btDiscreteCollisionDetectorInterface.ClosestPointInput input, @ByRef btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw, @Cast(value="bool") boolean swapResults)
getClosestPoints in class btDiscreteCollisionDetectorInterfacepublic void getClosestPoints(@Const @ByRef btDiscreteCollisionDetectorInterface.ClosestPointInput input, @ByRef btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw)
getClosestPoints in class btDiscreteCollisionDetectorInterface@Cast(value="bool") public boolean collide(@Const @ByRef btVector3 sphereCenter, @ByRef btVector3 point, @ByRef btVector3 resultNormal, @Cast(value="btScalar*") @ByRef DoublePointer depth, @Cast(value="btScalar*") @ByRef DoublePointer timeOfImpact, @Cast(value="btScalar") double contactBreakingThreshold)
@Cast(value="bool") public boolean collide(@Const @ByRef btVector3 sphereCenter, @ByRef btVector3 point, @ByRef btVector3 resultNormal, @Cast(value="btScalar*") @ByRef DoubleBuffer depth, @Cast(value="btScalar*") @ByRef DoubleBuffer timeOfImpact, @Cast(value="btScalar") double contactBreakingThreshold)
@Cast(value="bool") public boolean collide(@Const @ByRef btVector3 sphereCenter, @ByRef btVector3 point, @ByRef btVector3 resultNormal, @Cast(value="btScalar*") @ByRef double[] depth, @Cast(value="btScalar*") @ByRef double[] timeOfImpact, @Cast(value="btScalar") double contactBreakingThreshold)
Copyright © 2024. All rights reserved.