public override void rayTest(BroadphaseRayCallback rayCallback, Dispatcher dispatcher, VInt3 aabbMin, VInt3 aabbMax, short collisionFilterGroup, short collisionFilterMask) { BroadphaseRayTester callback = new BroadphaseRayTester(rayCallback); sets[DYNAMIC_SET].rayTestInternal(sets[DYNAMIC_SET].root, dispatcher, rayCallback.rayFrom, rayCallback.rayTo, aabbMin, aabbMax, collisionFilterGroup, collisionFilterMask, callback); sets[FIXED_SET].rayTestInternal(sets[FIXED_SET].root, dispatcher, rayCallback.rayFrom, rayCallback.rayTo, aabbMin, aabbMax, collisionFilterGroup, collisionFilterMask, callback); }
public abstract void rayTest(BroadphaseRayCallback rayCallback, Dispatcher dispatcher, VInt3 aabbMin, VInt3 aabbMax, short collisionFilterGroup, short collisionFilterMask);
public BroadphaseRayTester(BroadphaseRayCallback callback) { rayCallback = callback; }