Techland interview question

3D maths and c++, pretty junior level