public static float2 cos2(this float2 f) => (1 + f.cos()) / 2;
public static float2 sin2(this float2 f) => (1 - f.cos()) / 2;