MeiLandingRecoveryGround.cs
namespace PaintballBaddies;
// Measured by tools/audit_mei_landing_recovery.py; candidate only.
public static class MeiLandingRecoveryGround
{
 private static readonly float[] Values = { -0.8395115f, -0.8553791f, -0.8711404f, -0.8867995f, -0.9023491f, -0.9177979f, -0.9331349f, -0.9483680f, -0.9634911f, -0.9785089f, -0.9934135f, -1.0328068f, -1.0714376f, -1.1093046f, -1.1463930f, -1.1826896f, -1.2181877f, -1.2528782f, -1.2867512f, -1.3197947f, -1.3519942f, -1.3971091f, -1.4405442f, -1.4822603f, -1.5222308f, -1.5604081f, -1.5967791f, -1.6313073f, -1.6639618f, -1.6947124f, -1.7235500f, -1.7552529f, -1.7843359f, -1.8107268f, -1.8343937f, -1.8552788f, -1.8733301f, -1.8885047f, -1.9007621f, -1.9100633f, -1.9163710f, -1.9197879f, -1.9199186f, -1.9166943f, -1.9100577f, -1.8999687f, -1.8863726f, -1.8692251f, -1.8484864f, -1.8241300f, -1.7961169f, -1.7660887f, -1.7327019f, -1.6959295f, -1.6557161f, -1.6120387f, -1.5648645f, -1.5141687f, -1.4599350f, -1.4028084f, -1.3422117f, -1.2882836f, -1.2317397f, -1.1772724f, -1.1251448f, -1.0699581f, -1.0127833f, -0.9550382f, -0.8942044f, -0.8302896f, -0.7634355f, -0.7157081f, -0.6674079f, -0.6183258f, -0.5677790f, -0.5157540f, -0.4622448f, -0.4072719f, -0.3508150f, -0.2930592f, -0.2338660f, -0.2114057f, -0.1887419f, -0.1658640f, -0.1427833f, -0.1195026f, -0.0960126f, -0.0723171f, -0.0484153f, -0.0243024f, -0.0000014f };
 public static float Sample(float p) { var t=System.Math.Clamp(p,0,1)*(Values.Length-1);var i=System.Math.Min((int)t,Values.Length-2);return Values[i]+(Values[i+1]-Values[i])*(t-i); }
}