60 lines
1.7 KiB
Java
60 lines
1.7 KiB
Java
package p000;
|
|
|
|
import javax.microedition.m3g.Appearance;
|
|
import javax.microedition.m3g.Mesh;
|
|
import javax.microedition.m3g.Node;
|
|
import javax.microedition.m3g.VertexArray;
|
|
import javax.microedition.m3g.World;
|
|
|
|
/* renamed from: q */
|
|
/* loaded from: microcounterstrike.jar:q.class */
|
|
public abstract class PlayerModelBase {
|
|
|
|
/* renamed from: a */
|
|
public Node node234;
|
|
|
|
/* renamed from: b */
|
|
public Node node235;
|
|
|
|
/* renamed from: c */
|
|
public PlayerEntityBase playerEntityBase236;
|
|
|
|
public PlayerModelBase() {
|
|
}
|
|
|
|
public PlayerModelBase(PlayerEntityBase abstractC0052u) {
|
|
this.playerEntityBase236 = abstractC0052u;
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public abstract Node loadM3G0(World world);
|
|
|
|
/* renamed from: a */
|
|
public void execute271() {
|
|
this.playerEntityBase236 = null;
|
|
this.node234 = null;
|
|
this.node235 = null;
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public static void execute272(Mesh mesh, Mesh mesh2) {
|
|
mesh2.setAppearance(0, (Appearance) null);
|
|
mesh2.setAppearance(0, mesh.getAppearance(0));
|
|
mesh2.getVertexBuffer().setNormals(mesh.getVertexBuffer().getNormals());
|
|
float[] fArr = new float[4];
|
|
VertexArray positions = mesh.getVertexBuffer().getPositions(fArr);
|
|
float[] fArr2 = {fArr[1], fArr[2], fArr[3]};
|
|
mesh2.getVertexBuffer().setPositions(positions, fArr[0], fArr2);
|
|
VertexArray texCoords = mesh.getVertexBuffer().getTexCoords(0, fArr);
|
|
fArr2[0] = fArr[1];
|
|
fArr2[1] = fArr[2];
|
|
fArr2[2] = fArr[3];
|
|
mesh2.getVertexBuffer().setTexCoords(0, texCoords, fArr[0], fArr2);
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public final void execute273(boolean z) {
|
|
this.node234.setRenderingEnable(z);
|
|
}
|
|
}
|