35 lines
929 B
Java
35 lines
929 B
Java
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;
|
|
}
|
|
}
|