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

35 lines
929 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
/* loaded from: classes.dex */
public final class nlo {
static final FloatBuffer c = b(new float[]{-1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f});
final float[] a;
public iPJ b;
final FloatBuffer d;
final int e;
final int f;
private static FloatBuffer b(float[] fArr) {
int length = fArr.length;
ByteBuffer allocateDirect = ByteBuffer.allocateDirect(32);
allocateDirect.order(ByteOrder.nativeOrder());
FloatBuffer asFloatBuffer = allocateDirect.asFloatBuffer();
asFloatBuffer.put(fArr);
asFloatBuffer.position(0);
return asFloatBuffer;
}
public nlo(iPJ ipj, int i, int i2) {
float[] fArr = new float[8];
this.a = fArr;
this.d = b(fArr);
this.b = ipj;
this.f = i;
this.e = i2;
}
}