36 lines
1.0 KiB
Java
36 lines
1.0 KiB
Java
|
package o;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class Bjz extends qCz {
|
||
|
public final int b;
|
||
|
public final float d;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public Bjz(float f, float f2, float f3) {
|
||
|
this(f, f2, f3, 1);
|
||
|
}
|
||
|
|
||
|
private Bjz(float f, float f2, float f3, int i) {
|
||
|
super(f, f2);
|
||
|
this.d = f3;
|
||
|
this.b = i;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final boolean c(float f, float f2, float f3) {
|
||
|
if (Math.abs(f2 - this.e) > f || Math.abs(f3 - this.a) > f) {
|
||
|
return false;
|
||
|
}
|
||
|
float abs = Math.abs(f - this.d);
|
||
|
return abs <= 1.0f || abs <= this.d;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final Bjz a(float f, float f2, float f3) {
|
||
|
int i = this.b;
|
||
|
int i2 = i + 1;
|
||
|
float f4 = i2;
|
||
|
return new Bjz(((i * this.a) + f2) / f4, ((this.b * this.e) + f) / f4, ((this.b * this.d) + f3) / f4, i2);
|
||
|
}
|
||
|
}
|