public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache) : base(btAxisSweep3_new3(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero)) { _pairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache, bool disableRaycastAccelerator) : base(btAxisSweep3_new4(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero, disableRaycastAccelerator)) { _overlappingPairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache, bool disableRaycastAccelerator) : base(btAxisSweep3_new4(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero, disableRaycastAccelerator)) { _pairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3_32Bit(Vector3 worldAabbMin, Vector3 worldAabbMax, uint maxHandles = 1500000, OverlappingPairCache pairCache = null, bool disableRaycastAccelerator = false) : base(bt32BitAxisSweep3_new(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero, disableRaycastAccelerator)) { _overlappingPairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles = 16384, OverlappingPairCache pairCache = null, bool disableRaycastAccelerator = false) : base(btAxisSweep3_new(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache.Native : IntPtr.Zero, disableRaycastAccelerator)) { _overlappingPairCache = pairCache ?? new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(Native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache) : base(btAxisSweep3_new3(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero)) { _overlappingPairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles = 16384, OverlappingPairCache pairCache = null, bool disableRaycastAccelerator = false) { IntPtr native = btAxisSweep3_new(ref worldAabbMin, ref worldAabbMax, maxHandles, pairCache?.Native ?? IntPtr.Zero, disableRaycastAccelerator); InitializeUserOwned(native); InitializeMembers(pairCache ?? new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(Native), this)); }
public void DispatchAllCollisionPairs(OverlappingPairCache pairCache, DispatcherInfo dispatchInfo, Dispatcher dispatcher) { btDispatcher_dispatchAllCollisionPairs(_native, pairCache._native, dispatchInfo._native, dispatcher._native); }
public DbvtBroadphase(OverlappingPairCache pairCache) : base(btDbvtBroadphase_new2((pairCache != null) ? pairCache._native : IntPtr.Zero)) { _pairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public SimpleBroadphase(int maxProxies, OverlappingPairCache overlappingPairCache) : base(btSimpleBroadphase_new3(maxProxies, overlappingPairCache._native)) { _pairCache = (overlappingPairCache != null) ? overlappingPairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public void DispatchAllCollisionPairs(OverlappingPairCache pairCache, DispatcherInfo dispatchInfo, Dispatcher dispatcher) { btDispatcher_dispatchAllCollisionPairs(_native, pairCache._native, dispatchInfo._native, dispatcher._native); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache, bool disableRaycastAccelerator) : base(btAxisSweep3_new4(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero, disableRaycastAccelerator)) { }
public SimpleBroadphase(int maxProxies, OverlappingPairCache overlappingPairCache) : base(btSimpleBroadphase_new3(maxProxies, overlappingPairCache._native)) { _overlappingPairCache = (overlappingPairCache != null) ? overlappingPairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }
public AxisSweep3(Vector3 worldAabbMin, Vector3 worldAabbMax, ushort maxHandles, OverlappingPairCache pairCache, bool disableRaycastAccelerator) : base(btAxisSweep3_new4(ref worldAabbMin, ref worldAabbMax, maxHandles, (pairCache != null) ? pairCache._native : IntPtr.Zero, disableRaycastAccelerator)) { }
public DbvtBroadphase(OverlappingPairCache pairCache) : base(btDbvtBroadphase_new2((pairCache != null) ? pairCache._native : IntPtr.Zero)) { _overlappingPairCache = (pairCache != null) ? pairCache : new HashedOverlappingPairCache( btBroadphaseInterface_getOverlappingPairCache(_native), true); }