AxiosEngine-old 

AxiosEngine-old Mercurial Source Tree


Root/axios/Collision/IBroadPhase.cs

using System;
using FarseerPhysics.Dynamics;
using Microsoft.Xna.Framework;
 
namespace FarseerPhysics.Collision
{
    public interface IBroadPhase
    {
        int ProxyCount { get; }
        void UpdatePairs(BroadphaseDelegate callback);
 
        bool TestOverlap(int proxyIdA, int proxyIdB);
 
        int AddProxy(ref FixtureProxy proxy);
 
        void RemoveProxy(int proxyId);
 
        void MoveProxy(int proxyId, ref AABB aabb, Vector2 displacement);
 
        FixtureProxy GetProxy(int proxyId);
 
        void TouchProxy(int proxyId);
 
        void GetFatAABB(int proxyId, out AABB aabb);
 
        void Query(Func<int, bool> callback, ref AABB aabb);
 
        void RayCast(Func<RayCastInput, int, float> callback, ref RayCastInput input);
    }
}
Source at commit tip created 10 years 1 month ago.
By Nathan Adams, Adding prompt class to generate rounded square for text display

Archive Download this file

Page rendered in 0.84872s using 11 queries.