示例#1
0
    // https://github.com/FreyaHolmer/Mathfs/blob/master/Mathfs.cs

    public static float4 smootherstep(this float4 f) => f.cube() * (f * (f * 6 - 15) + 10).saturate();