[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.Lo
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!
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.
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.
142
u/kodicraft4 Oct 14 '20
ngl I'd do that.
What are you even using an array of rays for?
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.]
I'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!
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.
84
u/Ali3nat0r Oct 14 '20
I've done:
before, because I'm immature
27
u/aa599 Oct 14 '20
I've declared
int eger;54
u/Trevor_GoodchiId Oct 14 '20
My last intern named a word counter “nword”. That happened.
8
u/AGI_69 Oct 14 '20
smART
9
u/Corporate_Drone31 Oct 14 '20
No, no. Please, do go on. You have my attention.
4
u/[deleted] 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.
4
u/intLeon Oct 14 '20
UN-ITy get it UN I T why
4
u/Youngqueazy Oct 14 '20
r/DadCode
3
u/Random_182f2565 Oct 14 '20
Finger guns
3
u/ekgareebinsaan Oct 15 '20
if (success) { return hurRAY; }2
u/salocin_Hatter Oct 14 '20
Rayman like it
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
u/Je-Kaste Oct 14 '20
This is something I would do.
1
u/chain_letter Oct 14 '20
heard manRay origins was a pretty good platforming game
1
u/[deleted] Oct 14 '20
What kind of game are you making in unity?
1
u/CuriousChristov Oct 14 '20
Don't name them. You'll just get attached if you name them.
1
u/nullable_fool Oct 15 '20
No pirate reference: -1
1
u/wjaspers Oct 15 '20
OP is so good they trust adding high range bytes to their inline comments.
1
u/kwokhou Oct 15 '20
Well... most importantly, can it runs?
1
u/Noname_FTW Oct 15 '20
Even Intellisense doesn't like your jokes.
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
u/MalphiteStopUltingMe Mar 22 '21
Quaternions are cool
0
u/Poddster Oct 15 '20
I don't get it.
ar<RAY>?0
u/[deleted] Oct 14 '20
[deleted] — view deleted comment