mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Renamed MathUtil fields
This commit is contained in:
parent
28c3abbcfc
commit
bed128bd19
19 changed files with 160 additions and 160 deletions
|
|
@ -6,28 +6,28 @@ import org.openrs2.deob.annotation.Pc;
|
|||
public final class MathUtils {
|
||||
|
||||
@OriginalMember(owner = "client!hf", name = "g", descriptor = "[I")
|
||||
public static final int[] anIntArray223 = new int[2048];
|
||||
public static final int[] sin = new int[2048];
|
||||
|
||||
@OriginalMember(owner = "client!hf", name = "h", descriptor = "[I")
|
||||
public static final int[] anIntArray224 = new int[2048];
|
||||
public static final int[] reciprical16 = new int[2048];
|
||||
|
||||
@OriginalMember(owner = "client!hf", name = "f", descriptor = "[I")
|
||||
private static final int[] anIntArray222 = new int[512];
|
||||
private static final int[] reciprical15 = new int[512];
|
||||
|
||||
@OriginalMember(owner = "client!hf", name = "r", descriptor = "[I")
|
||||
public static final int[] anIntArray225 = new int[2048];
|
||||
public static final int[] cos = new int[2048];
|
||||
|
||||
static {
|
||||
@Pc(33) int local33;
|
||||
for (local33 = 1; local33 < 512; local33++) {
|
||||
anIntArray222[local33] = 32768 / local33;
|
||||
@Pc(33) int i;
|
||||
for (i = 1; i < 512; i++) {
|
||||
reciprical15[i] = 32768 / i;
|
||||
}
|
||||
for (local33 = 1; local33 < 2048; local33++) {
|
||||
anIntArray224[local33] = 65536 / local33;
|
||||
for (i = 1; i < 2048; i++) {
|
||||
reciprical16[i] = 65536 / i;
|
||||
}
|
||||
for (local33 = 0; local33 < 2048; local33++) {
|
||||
anIntArray223[local33] = (int) (Math.sin((double) local33 * 0.0030679615D) * 65536.0D);
|
||||
anIntArray225[local33] = (int) (Math.cos((double) local33 * 0.0030679615D) * 65536.0D);
|
||||
for (i = 0; i < 2048; i++) {
|
||||
sin[i] = (int) (Math.sin((double) i * 0.0030679615D) * 65536.0D);
|
||||
cos[i] = (int) (Math.cos((double) i * 0.0030679615D) * 65536.0D);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue