Class SeparationFunction
- Namespace
- Alis.Core.Physic.Collision
- Assembly
- Alis.dll
The separation function class
public static class SeparationFunctionInheritance
Inherited Members
Fields
_axis
The axis
[ThreadStatic]
private static Vector2 _axisField Value
_localPoint
The local point
[ThreadStatic]
private static Vector2 _localPointField Value
_proxyA
The proxy
[ThreadStatic]
private static DistanceProxy _proxyAField Value
_proxyB
The proxy
[ThreadStatic]
private static DistanceProxy _proxyBField Value
_sweepA
The sweep
[ThreadStatic]
private static Sweep _sweepAField Value
_sweepB
The sweep
[ThreadStatic]
private static Sweep _sweepBField Value
_type
The type
[ThreadStatic]
private static SeparationFunctionType _typeField Value
Methods
Evaluate(int, int, float)
Evaluates the index a
public static float Evaluate(int indexA, int indexB, float t)Parameters
Returns
- float
-
The float
FindMinSeparation(out int, out int, float)
Finds the min separation using the specified index a
public static float FindMinSeparation(out int indexA, out int indexB, float t)Parameters
Returns
- float
-
The float
Set(ref SimplexCache, ref DistanceProxy, ref Sweep, ref DistanceProxy, ref Sweep, float)
Sets the cache
public static void Set(ref SimplexCache cache, ref DistanceProxy proxyA, ref Sweep sweepA, ref DistanceProxy proxyB, ref Sweep sweepB, float t1)Parameters
cacheSimplexCache-
The cache
proxyADistanceProxy-
The proxy
sweepASweep-
The sweep
proxyBDistanceProxy-
The proxy
sweepBSweep-
The sweep
t1float-
The