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