public static float Max(this float val, float max) => Maths.Max(val, max);
public static int Max(this int val, int max) => Maths.Max(val, max);