PlayStation interview question

NDA. Basic 3d math and coding.