示例#1
0
        static unsafe bool PointDistanceCompound <T>(PointDistanceInput input, PhysicsCompoundCollider *compoundCollider, ref T collector)
            where T : struct, ICollector <DistanceHit>
        {
            var leafProcessor = new PointDistanceCompoundLeafProcessor(compoundCollider);

            return(compoundCollider->BoundingVolumeHierarchy.Distance(input, ref leafProcessor, ref collector));
        }
示例#2
0
 public OverlapPointCompoundLeafProcessor(PhysicsCompoundCollider *compoundCollider)
 {
     m_CompoundCollider = compoundCollider;
 }
示例#3
0
 public PointDistanceCompoundLeafProcessor(PhysicsCompoundCollider *compoundCollider)
 {
     m_CompoundCollider = compoundCollider;
 }