How to screw up an important interview…
Today has been one of the worst days in a while and I feel like shit. I managed to get an interview with Crytek (yeh, fucking crytek!!!), it was a dream come true. I got an email on monday that they wanted a phone interview today.
I dont think i’ve ever been so nervous in my life, my dream is to get into game development and working for a company like crytek would be amazing. I barely got any sleep last night due to stress, I end up stressing only about things that I have no control over.
So the time for the interview came, 15 minutes before the time, i had to go to the bathroom since i felt like throwing up, the interview started and i fucked it up. I was so nervouse i could speak properly and my brain just wouldnt work
They asked a lot of technical c++ questions of which I knew all the answers except for virtual constructors (which i’d never run into before) and the mutable keyword which is something I dont really use. Then they asked me some simple questions about the STL list and the vector containers and i fucked those up royally even tho i know the operation of a linked list and the vector class inside out. I cant fucking believe it.
But that wasn’t even the worst part of it, they aksed me some easy vector algebra questions as i just went blank! I fucking went blank! Here’s the two questions:
in a 2d scene, if you have a player with a view direction and an enemy, how do you determine if the enemy is to the left or the right of you? and how you determine if it is in front of behind you?
i cant believe i fucking messed that up
the answers are really simple the first is to take the cross product of the view vector and the vector from the player to the monster, this gives you the normal to the plane created by two vectors. If the y component of the resulting normal is postive its to the right and if its negative its to the left. The second answer is the dot product of the two vectors, if positive its in front, if negative its behind (due to the cross product being the product of the vector norms and the cos of the angle between them, and cos is positive only between 0-90 degrees and between 270-360 degrees so if its infront cos is postive. ARGH!!!! I cant belive i screwed up so badly, on the upside it was really amazing to talk to someone that actually knew what was going on with c++, especially performance wise. There is so much i could learn from them and i had the chance but i fucking screwed it up… bobby you suck…
I need to work harder and take a tranquilizer pill before any further interviews. I cant remember the last time i was so nervous about anything
sigh…