- Barotrauma's projects are in the Barotrauma directory - All libraries are in the Libraries directory - MonoGame is now managed by NuGet, rather than referenced from the installed files (TODO: consider using PCL for easier cross-platform development?) - NuGet libraries are not included in the repo, as getting the latest versions automatically should be preferred - Removed Content/effects.mgfx as it didn't seem to be used anywhere - Removed some references to Subsurface directory - Renamed Launcher2 to Launcher
32 lines
801 B
C#
32 lines
801 B
C#
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);
|
|
|
|
void ShiftOrigin(Vector2 newOrigin);
|
|
}
|
|
} |