📄 d.java~12~
字号:
// 5 366
// 6 416
// 7 471;
// goto _L1 _L2 _L3 _L4 _L5 _L6 _L7 _L8 _L9
_L1:
// continue; /* Loop/switch isn't completed */
_L2:
a("Triangle Test");
try
{
f();
}
catch(Exception exception)
{
exception.printStackTrace();
//a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.c = -1;
d_int_fld += 2;
//continue; /* Loop/switch isn't completed */
}
d_int_fld++;
////continue; /* Loop/switch isn't completed */
_L3:
if(a_long_fld < 15000L)
{
a(a_javax_microedition_lcdui_Graphics_fld);
} else
{
d_int_fld++;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.e = (int)((b_long_fld * 1000L * 992L) / a_long_fld);
}
////continue; /* Loop/switch isn't completed */
_L4:
a("Texturing Test");
try
{
b();
}
catch(Exception exception1)
{
exception1.printStackTrace();
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.c = -1;
d_int_fld += 2;
continue; /* Loop/switch isn't completed */
}
d_int_fld++;
continue; /* Loop/switch isn't completed */
_L5:
if(a_long_fld < 15000L)
{
c(a_javax_microedition_lcdui_Graphics_fld);
} else
{
d_int_fld++;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.c = (int)((b_long_fld * (long)a_int_fld * (long)e) / a_long_fld);
}
continue; /* Loop/switch isn't completed */
_L6:
a("JBenchmark3D LQ");
try
{
c();
}
catch(Exception exception2)
{
exception2.printStackTrace();
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.j = -1;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.d_int_fld = -1;
d_int_fld += 4;
continue; /* Loop/switch isn't completed */
}
d_int_fld++;
continue; /* Loop/switch isn't completed */
_L7:
if(a_long_fld < 30000L)
{
b(a_javax_microedition_lcdui_Graphics_fld);
} else
{
d_int_fld++;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.j = (int)b_long_fld;
}
continue; /* Loop/switch isn't completed */
_L8:
a("JBenchmark3D HQ");
try
{
g();
}
catch(Exception exception3)
{
exception3.printStackTrace();
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.d_int_fld = -1;
d_int_fld += 2;
continue; /* Loop/switch isn't completed */
}
d_int_fld++;
continue; /* Loop/switch isn't completed */
_L9:
if(a_long_fld < 30000L)
{
b(a_javax_microedition_lcdui_Graphics_fld);
} else
{
d_int_fld++;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.d_int_fld = (int)b_long_fld;
}
// if(true) goto _L11; else goto _L10
_L10:
b_boolean_fld = false;
a_JBenchmark3D_JBenchmark3D_fld.a_c_fld.d_boolean_fld = true;
a_JBenchmark3D_JBenchmark3D_fld.stopbenchmark();
a_javax_microedition_lcdui_Display_fld.setCurrent(a_JBenchmark3D_JBenchmark3D_fld.a_javax_microedition_lcdui_Form_fld);
return;
}
public void a(Node node)
{
Transform transform = new Transform();
node.getTransformTo(a_javax_microedition_m3g_World_fld, transform);
float af[] = new float[16];
transform.get(af);
if(node.getClass().getName().equals("javax.microedition.m3g.Mesh"))
try
{
Mesh mesh = (Mesh)node;
VertexBuffer vertexbuffer = mesh.getVertexBuffer();
float af1[] = new float[4];
vertexbuffer.getPositions(af1);
float f1 = (-128F * af1[0] + af1[1]) * af[0] + af[3];
float f2 = (127F * af1[0] + af1[1]) * af[0] + af[3];
if(f1 < b_float_fld)
b_float_fld = f1;
else
if(f1 > a_float_fld)
a_float_fld = f1;
if(f2 < b_float_fld)
b_float_fld = f2;
else
if(f2 > a_float_fld)
a_float_fld = f2;
float f3 = (-128F * af1[0] + af1[3]) * af[0] + af[11];
float f4 = (127F * af1[0] + af1[3]) * af[0] + af[11];
if(f3 < d_float_fld)
d_float_fld = f3;
else
if(f3 > c_float_fld)
c_float_fld = f3;
if(f4 < d_float_fld)
d_float_fld = f4;
else
if(f4 > c_float_fld)
c_float_fld = f4;
}
catch(Exception exception)
{
System.out.println(exception.toString() + 15);
if(af[3] < b_float_fld)
b_float_fld = af[3];
else
if(af[3] > a_float_fld)
a_float_fld = af[3];
if(af[11] < d_float_fld)
d_float_fld = af[11];
else
if(af[11] > c_float_fld)
c_float_fld = af[11];
}
if(node.getClass().getName().equals("javax.microedition.m3g.Group") || node.getClass().getName().equals("javax.microedition.m3g.World"))
{
Group group = (Group)node;
for(int i = 0; i < group.getChildCount(); i++)
try
{
a(group.getChild(i));
}
catch(Exception exception1)
{
System.out.println(exception1.toString() + 5);
}
}
}
public void b(Node node)
{
Transform transform = new Transform();
node.getTransformTo(a_javax_microedition_m3g_World_fld, transform);
float af[] = new float[16];
transform.get(af);
int i = 0;
if(node.getClass().getName().equals("javax.microedition.m3g.Mesh"))
try
{
Mesh mesh = (Mesh)node;
VertexBuffer vertexbuffer = mesh.getVertexBuffer();
float af1[] = new float[4];
vertexbuffer.getPositions(af1);
float f1 = (-128F * af1[0] + af1[1]) * af[0] + af[3];
float f2 = (127F * af1[0] + af1[1]) * af[0] + af[3];
float f3 = (-128F * af1[0] + af1[3]) * af[0] + af[11];
float f4 = (127F * af1[0] + af1[3]) * af[0] + af[11];
int j1 = (int)(((f1 - b_float_fld) / (a_float_fld - b_float_fld)) * (float)f);
if(j1 == f)
j1 = f - 1;
int k1 = (int)(((f2 - b_float_fld) / (a_float_fld - b_float_fld)) * (float)f);
if(k1 == f)
k1 = f - 1;
if(k1 < j1)
{
int l1 = k1;
k1 = j1;
j1 = l1;
}
int i2 = (int)(((f3 - d_float_fld) / (c_float_fld - d_float_fld)) * (float)c_int_fld);
if(i2 == c_int_fld)
i2 = c_int_fld - 1;
int j2 = (int)(((f4 - d_float_fld) / (c_float_fld - d_float_fld)) * (float)c_int_fld);
if(j2 == c_int_fld)
j2 = c_int_fld - 1;
if(j2 < i2)
{
int k2 = j2;
j2 = i2;
i2 = k2;
}
for(int l2 = i2; l2 <= j2; l2++)
{
for(int i3 = j1; i3 <= k1; i3++)
i |= 1 << l2 * f + i3;
}
}
catch(Exception exception)
{
System.out.println(exception.toString() + 7);
int j = (int)(((af[3] - b_float_fld) / (a_float_fld - b_float_fld)) * (float)f);
if(j == f)
j = f - 1;
int i1 = (int)(((af[11] - d_float_fld) / (c_float_fld - d_float_fld)) * (float)c_int_fld);
if(j == c_int_fld)
j = c_int_fld - 1;
i = 1 << i1 * f + j;
}
if(node.getClass().getName().equals("javax.microedition.m3g.SkinnedMesh"))
node.setScope(-1);
else
node.setScope(i);
if(node.getClass().getName().equals("javax.microedition.m3g.Light"))
{
if(a_javax_microedition_m3g_Light_array1d_fld == null)
{
a_javax_microedition_m3g_Light_array1d_fld = new Light[1];
a_javax_microedition_m3g_Light_array1d_fld[0] = (Light)node;
} else
{
Light alight[] = new Light[a_javax_microedition_m3g_Light_array1d_fld.length + 1];
for(int k = 0; k < a_javax_microedition_m3g_Light_array1d_fld.length; k++)
alight[k] = a_javax_microedition_m3g_Light_array1d_fld[k];
alight[a_javax_microedition_m3g_Light_array1d_fld.length] = (Light)node;
a_javax_microedition_m3g_Light_array1d_fld = alight;
}
System.out.print("lights: ");
System.out.println(a_javax_microedition_m3g_Light_array1d_fld.length);
}
if(node.getClass().getName().equals("javax.microedition.m3g.Group") || node.getClass().getName().equals("javax.microedition.m3g.World"))
{
Group group = (Group)node;
for(int l = 0; l < group.getChildCount(); l++)
b(group.getChild(l));
}
}
public float a(float f1)
{
float f2 = (f1 / (float)(getWidth() + getHeight())) * 3F;
return (a_java_util_Random_fld.nextFloat() - 0.5F) * f2;
}
public a aa(float f1)
{
float f2 = 0.0F;
float f3 = 0.0F;
float f4 = 0.0F;
if(f1 < 0.5F)
f2 = f1 * 2.0F;
else
f2 = (1.0F - f1) * 2.0F;
if(f1 >= 0.3F && f1 < 0.8F)
f3 = (f1 - 0.3F) * 2.0F;
else
if(f1 < 0.3F)
f3 = (0.3F - f1) * 2.0F;
else
f3 = (1.3F - f1) * 2.0F;
if(f1 >= 0.5F)
f4 = (f1 - 0.5F) * 2.0F;
else
f4 = (0.5F - f1) * 2.0F;
return new a(this, (int)(f2 * 255F), (int)(f3 * 255F), (int)(f4 * 255F));
}
public Image a_Image()
{
float f1 = a_java_util_Random_fld.nextFloat();
float f2 = a_java_util_Random_fld.nextFloat();
float f3 = a_java_util_Random_fld.nextFloat();
float f4 = a_java_util_Random_fld.nextFloat();
Image image = Image.createImage(a_int_fld, e);
Graphics g1 = image.getGraphics();
a(g1, 0.0F, 0.0F, a_int_fld, e, f1, f2, f3, f4);
a_javax_microedition_lcdui_Graphics_fld.setColor(255, 255, 255);
return image;
}
public void a(Graphics g1, float f1, float f2, float f3, float f4, float f5, float f6,
float f7, float f8)
{
float f14 = f3 / 2.0F;
float f15 = f4 / 2.0F;
if(f3 > 2.0F || f4 > 2.0F)
{
float f13 = (f5 + f6 + f7 + f8) / 4F + a(f14 + f15);
float f9 = (f5 + f6) / 2.0F;
float f10 = (f6 + f7) / 2.0F;
float f11 = (f7 + f8) / 2.0F;
float f12 = (f8 + f5) / 2.0F;
if(f13 < 0.0F)
f13 = 0.0F;
else
if(f13 > 1.0F)
f13 = 1.0F;
a(g1, f1, f2, f14, f15, f5, f9, f13, f12);
a(g1, f1 + f14, f2, f14, f15, f9, f6, f10, f13);
a(g1, f1 + f14, f2 + f15, f14, f15, f13, f10, f7, f11);
a(g1, f1, f2 + f15, f14, f15, f12, f13, f11, f8);
} else
{
float f16 = (f5 + f6 + f7 + f8) / 4F;
a a1 = a(f16);
g1.setColor(a1.a, a1.b, a1.c);
g1.drawRect((int)f1, (int)f2, 1, 1);
}
}
public long b_long_fld;
public long c_long_fld;
public long a_long_fld;
public int d_int_fld;
public boolean a_boolean_fld;
private Display a_javax_microedition_lcdui_Display_fld;
private Graphics3D a_javax_microedition_m3g_Graphics3D_fld;
private Graphics a_javax_microedition_lcdui_Graphics_fld;
public int b_int_fld;
public int a_int_fld;
public int e;
private Object3D a_javax_microedition_m3g_Object3D_array1d_fld[];
private World a_javax_microedition_m3g_World_fld;
private Camera a_javax_microedition_m3g_Camera_fld;
private Light a_javax_microedition_m3g_Light_array1d_fld[];
private Mesh a_javax_microedition_m3g_Mesh_fld;
private Background a_javax_microedition_m3g_Background_fld;
private JBenchmark3D a_JBenchmark3D_JBenchmark3D_fld;
public boolean b_boolean_fld;
public float d_float_fld;
public float c_float_fld;
public float b_float_fld;
public float a_float_fld;
public int g;
private int f;
private int c_int_fld;
private Random a_java_util_Random_fld;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -