Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

WTF JAVA

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.

Name: Anonymous 2012-03-10 19:05

FYI, folks, don't bother helping this guy. He's an absolute douchenozzle.

http://boards.4chan.org/sci/res/4452201

Name: Anonymous 2012-03-10 19:08

As if it mattered. Just help for the sake of helping and don't care what it seems like.

Name: Anonymous 2012-03-10 19:11

I'll be bumpin' this.

Name: Anonymous 2012-03-10 19:15

Bamp

Name: Anonymous 2012-03-10 19:23

i am become autism
devastation of imageboards
within my ward
will rise again tower of cubes

Name: Anonymous 2012-03-10 19:29


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List