package q;

/* JADX INFO: renamed from: q.q, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2795q extends AbstractC2798s {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public float f23405a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public float f23407c;

    public C2795q(float f6, float f7, float f8) {
        this.f23405a = f6;
        this.f23406b = f7;
        this.f23407c = f8;
    }

    @Override // q.AbstractC2798s
    public final float a(int i6) {
        if (i6 == 0) {
            return this.f23405a;
        }
        if (i6 == 1) {
            return this.f23406b;
        }
        if (i6 != 2) {
            return 0.0f;
        }
        return this.f23407c;
    }

    @Override // q.AbstractC2798s
    public final int b() {
        return 3;
    }

    @Override // q.AbstractC2798s
    public final AbstractC2798s c() {
        return new C2795q(0.0f, 0.0f, 0.0f);
    }

    @Override // q.AbstractC2798s
    public final void d() {
        this.f23405a = 0.0f;
        this.f23406b = 0.0f;
        this.f23407c = 0.0f;
    }

    @Override // q.AbstractC2798s
    public final void e(float f6, int i6) {
        if (i6 == 0) {
            this.f23405a = f6;
        } else if (i6 == 1) {
            this.f23406b = f6;
        } else {
            if (i6 != 2) {
                return;
            }
            this.f23407c = f6;
        }
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof C2795q)) {
            return false;
        }
        C2795q c2795q = (C2795q) obj;
        return c2795q.f23405a == this.f23405a && c2795q.f23406b == this.f23406b && c2795q.f23407c == this.f23407c;
    }

    public final int hashCode() {
        return Float.hashCode(this.f23407c) + com.google.android.recaptcha.internal.a.b(this.f23406b, Float.hashCode(this.f23405a) * 31, 31);
    }

    public final String toString() {
        return "AnimationVector3D: v1 = " + this.f23405a + ", v2 = " + this.f23406b + ", v3 = " + this.f23407c;
    }
}
