using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VisimBox.Physics
{
    public interface IContactGenerator
    {
        /// <summary>
        /// Physical Scene callback - node should check for any collisions and save them at physical contact at index and beyond
        /// Note: node should NOT increase the contact list size (HW limit)
        /// </summary>
        /// <param name="List">List to save contact into</param>
        /// <param name="index">Starting index</param>
        /// <returns>Number of added contacts</returns>
        int AddContact(List<PhysicalContact> List, int index);
    }
}
