Files
micro-counter-strike-decomp…/p000/SphereCollider.java
2026-03-18 12:51:32 +03:00

36 lines
1.0 KiB
Java

package p000;
/* renamed from: aw */
/* loaded from: microcounterstrike.jar:aw.class */
public final class SphereCollider {
/* renamed from: a */
public float[] value98;
/* renamed from: b */
public float value99;
public SphereCollider() {
this.value98 = new float[3];
}
public SphereCollider(float[] fArr, float f) {
this.value98 = new float[3];
this.value98 = fArr;
this.value99 = f;
}
/* renamed from: a */
public final boolean getBoolean139(SphereCollider c0023aw) {
float[] fArr = c0023aw.value98;
return (((fArr[0] - this.value98[0]) * (fArr[0] - this.value98[0])) + ((fArr[1] - this.value98[1]) * (fArr[1] - this.value98[1]))) + ((fArr[2] - this.value98[2]) * (fArr[2] - this.value98[2])) <= (this.value99 + c0023aw.value99) * (this.value99 + c0023aw.value99);
}
/* renamed from: a */
public final void execute140(float f, float f2, float f3) {
this.value98[0] = f;
this.value98[1] = f2;
this.value98[2] = f3;
}
}