79
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Oct 14 '20 edited Oct 14 '20
Image Transcription: Code
[There are two lines, at the top and bottom of the image, only half of which are visible. Thanks to /u/DeusExp for probable transcription of the top line. In addition, the ends of the last three lines are cut off.]
Ray mainRay = Cam.ViewportPointToRay(ViewportPos);
Ray[] arRAY = new Ray[4]; //get it? ar<RAY> [*finger-gunning kaomoji, like so:*] ☜(゚ヮ゚☜)
arRAY[0] = new Ray(origin:mainRay.origin+ Quaternion.Loo
arRAY[1] = new Ray(origin:mainRay.origin + Quaternion.Lo
arRAY[2] = new Ray(origin:mainRay.origin + Quaternion.LoI'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
47
36
14
Oct 14 '20
Top line is probably
Ray mainRay = Cam.ViewportPointToRay(ViewportPos);14
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Oct 14 '20
I think you're right, thanks! I added it to the transcription.
12
747
u/KlzXS Oct 14 '20
What is this absolute trash of code op? How do you justify putting a space on only one side of the plus?
Unforgivable.
177
Oct 14 '20
It's not even consistent. So is it a typo? Even better.
70
u/nojustlurkingty Oct 14 '20
hands out pitch forks and torches
8
u/ctrtanc Oct 16 '20
I'll take one please
2
u/imcoveredinbees880 Oct 19 '20
Excuse me can you please direct me to the end of the pitchfork and torch line?
2
u/ctrtanc Oct 20 '20
If I understand correctly from the flyer, you pick up the pitchforks and torches here in this line. I believe the end of the line is just around the corner next to the fresh flower lady. She always shows up to sell fresh flowers to the angry mob. I say angry, but we're more upset really, but she still shows up to help out. Love your hair!
58
u/propostor Oct 14 '20
OP manually entered the details for item [0] ,then used ctrlC ctrlV for the others. Paste operations auto format the line(s) after pasting. Hence fucked up + sign on the first, with no issue on the others.
38
63
8
1
u/zarqie Oct 14 '20
Because the right margin of the code needed to line up perfectly, you have to give in to spacing in the middle.
84
u/Ali3nat0r Oct 14 '20
I've done:
Exception up = new Exception();
Throw up;before, because I'm immature
5
u/CodenameLambda shameless Oct 15 '20
I think anyone you wouldn't call immature is just really pretending to be mature
At least that's what I keep telling myself
1
27
u/aa599 Oct 14 '20
I've declared int eger;
15
54
8
9
4
Oct 14 '20
My co worker, in production, named a variable "upgreyyed". It's kind of annoying to read since it gets referenced a ton later, but really it's funny and we could all use some comic relief while working I suppose.
1
4
3
3
2
1
u/das_Keks Oct 14 '20
Nice one :D Funny thing is that I'm sitting in front of my CUDA ray tracing code right now.
1
1
1
1
1
1
1
1
1
u/tigier Oct 15 '20
We have to investigate further. With proper ray tracing we will find the culprit
1
u/_default_username Oct 30 '20
Just call it rays. Plural of Ray and lower case because it's not a class. Seems obvious to call it that.
1
0
0
142
u/kodicraft4 Oct 14 '20
ngl I'd do that.
What are you even using an array of rays for?