package com.google.android.material.shape;

/* JADX INFO: loaded from: classes2.dex */
public final class g extends f {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final float f23067b;

    public g(float f10) {
        this.f23067b = f10 - 0.001f;
    }

    @Override // com.google.android.material.shape.f
    public final void e(float f10, float f11, float f12, e0 e0Var) {
        double d10 = this.f23067b;
        float fSqrt = (float) ((Math.sqrt(2.0d) * d10) / 2.0d);
        float fSqrt2 = (float) Math.sqrt(Math.pow(d10, 2.0d) - Math.pow(fSqrt, 2.0d));
        e0Var.e(f11 - fSqrt, ((float) (-((Math.sqrt(2.0d) * d10) - d10))) + fSqrt2, 270.0f, 0.0f);
        e0Var.d(f11, (float) (-((Math.sqrt(2.0d) * d10) - d10)));
        e0Var.d(f11 + fSqrt, ((float) (-((Math.sqrt(2.0d) * d10) - d10))) + fSqrt2);
    }
}
