Ctrl+K

SeparationFunction

Declaration

public static class tainicom.Aether.Physics2D.Collision.SeparationFunction

Methods

Set static

void Set(ref SimplexCache cache, ref DistanceProxy proxyA, ref Sweep sweepA, ref DistanceProxy proxyB, ref Sweep sweepB, float t1)

Parameters:

Name Type Description
cache ref tainicom.Aether.Physics2D.Collision.SimplexCache
proxyA ref tainicom.Aether.Physics2D.Collision.DistanceProxy
sweepA ref tainicom.Aether.Physics2D.Common.Sweep
proxyB ref tainicom.Aether.Physics2D.Collision.DistanceProxy
sweepB ref tainicom.Aether.Physics2D.Common.Sweep
t1 System.Single

FindMinSeparation static

float FindMinSeparation(out int indexA, out int indexB, float t)

Parameters:

Name Type Description
indexA out System.Int32
indexB out System.Int32
t System.Single

Evaluate static

float Evaluate(int indexA, int indexB, float t)

Parameters:

Name Type Description
indexA System.Int32
indexB System.Int32
t System.Single