Name: Anonymous 2012-03-10 19:01
I'm lazy enough to just copypaste what I copypasted to /sci/ /b/ and /g/.
What the fuck guys, my friend is pissing me off. I can't find anywhere on the nets/google how to understand this shit, and I'm fucking raging because my friend is so fucking annoying that he tells me to google it up when I can't google it up.
Random c = new Random();
c.setSeed(199513412870065660L); //Or whatever your seed is.
double d1 = c.nextDouble() * 3.141592653589793D * 2.0D;
double d2 = (1.25D + c.nextDouble()) * 32.0D;
int k = (int)Math.round(Math.cos(d1) * d2);
int m = (int)Math.round(Math.sin(d1) * d2);
int kt = (k << 4) + 8;
int mt = (m << 4) + 8;
System.out.println(kt + " " + mt);
How am I supposed to do anything with that? What do I do with it? As far as I know it gives three coordinates, and I have two of them. I want to reverse engineer the third one.
At least tell me what the fuck that means.
- Sorry to interrupt you, I am just too annoyed and want to know what that means. I have faith in you.
What the fuck guys, my friend is pissing me off. I can't find anywhere on the nets/google how to understand this shit, and I'm fucking raging because my friend is so fucking annoying that he tells me to google it up when I can't google it up.
Random c = new Random();
c.setSeed(199513412870065660L); //Or whatever your seed is.
double d1 = c.nextDouble() * 3.141592653589793D * 2.0D;
double d2 = (1.25D + c.nextDouble()) * 32.0D;
int k = (int)Math.round(Math.cos(d1) * d2);
int m = (int)Math.round(Math.sin(d1) * d2);
int kt = (k << 4) + 8;
int mt = (m << 4) + 8;
System.out.println(kt + " " + mt);
How am I supposed to do anything with that? What do I do with it? As far as I know it gives three coordinates, and I have two of them. I want to reverse engineer the third one.
At least tell me what the fuck that means.
- Sorry to interrupt you, I am just too annoyed and want to know what that means. I have faith in you.