BEPUphysics.CollisionTests.Manifolds.SphereContactManifold.Add C# (CSharp) Method

Add() protected method

protected Add ( ContactData &contactCandidate ) : void
contactCandidate ContactData
return void
        protected override void Add(ref ContactData contactCandidate)
        {
            contact.Normal = contactCandidate.Normal;
            contact.PenetrationDepth = contactCandidate.PenetrationDepth;
            contact.Position = contactCandidate.Position;

            contacts.Add(contact);
            OnAdded(contact);
        }