what-the-bank/sources/o/mCL.java

84 lines
3.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes2.dex */
public final class mCL {
final float a;
final float b;
final float c;
final float d;
final float e;
final float f;
final float g;
final float i;
final float j;
private mCL(float f, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9) {
this.c = f;
this.d = f4;
this.a = f7;
this.b = f2;
this.e = f5;
this.j = f8;
this.f = f3;
this.g = f6;
this.i = f9;
}
private static mCL d(float f, float f2, float f3, float f4, float f5, float f6, float f7, float f8) {
float f9 = ((f - f3) + f5) - f7;
float f10 = ((f2 - f4) + f6) - f8;
if (f9 == BitmapDescriptorFactory.HUE_RED && f10 == BitmapDescriptorFactory.HUE_RED) {
return new mCL(f3 - f, f5 - f3, f, f4 - f2, f6 - f4, f2, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 1.0f);
}
float f11 = f3 - f5;
float f12 = f7 - f5;
float f13 = f4 - f6;
float f14 = f8 - f6;
float f15 = (f11 * f14) - (f12 * f13);
float f16 = ((f14 * f9) - (f12 * f10)) / f15;
float f17 = ((f11 * f10) - (f9 * f13)) / f15;
return new mCL((f3 - f) + (f16 * f3), (f7 - f) + (f17 * f7), f, (f4 - f2) + (f16 * f4), (f8 - f2) + (f17 * f8), f2, f16, f17, 1.0f);
}
private mCL e() {
float f = this.e;
float f2 = this.i;
float f3 = this.j;
float f4 = this.g;
float f5 = this.f;
float f6 = this.b;
float f7 = this.a;
float f8 = this.d;
float f9 = this.c;
return new mCL((f * f2) - (f3 * f4), (f3 * f5) - (f6 * f2), (f6 * f4) - (f * f5), (f7 * f4) - (f8 * f2), (f2 * f9) - (f7 * f5), (f5 * f8) - (f4 * f9), (f8 * f3) - (f7 * f), (f7 * f6) - (f3 * f9), (f9 * f) - (f8 * f6));
}
private mCL d(mCL mcl) {
float f = this.c;
float f2 = mcl.c;
float f3 = this.b;
float f4 = mcl.d;
float f5 = this.f;
float f6 = mcl.a;
float f7 = mcl.b;
float f8 = mcl.e;
float f9 = mcl.j;
float f10 = mcl.f;
float f11 = mcl.g;
float f12 = mcl.i;
float f13 = this.d;
float f14 = this.e;
float f15 = this.g;
float f16 = this.a;
float f17 = this.j;
float f18 = this.i;
return new mCL((f * f2) + (f3 * f4) + (f5 * f6), (f * f7) + (f3 * f8) + (f5 * f9), (f * f10) + (f3 * f11) + (f5 * f12), (f13 * f2) + (f14 * f4) + (f15 * f6), (f13 * f7) + (f14 * f8) + (f15 * f9), (f15 * f12) + (f13 * f10) + (f14 * f11), (f6 * f18) + (f2 * f16) + (f4 * f17), (f7 * f16) + (f8 * f17) + (f9 * f18), (f16 * f10) + (f17 * f11) + (f18 * f12));
}
public static mCL b(float f, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10, float f11, float f12, float f13, float f14, float f15, float f16) {
return d(f9, f10, f11, f12, f13, f14, f15, f16).d(d(f, f2, f3, f4, f5, f6, f7, f8).e());
}
}