Pregunta de entrevista de Naughty Dog

How do you find a vector given any two points?

Respuesta de la entrevista

Anónimo

22 jun 2020

Given point A and B, two vectors can be formed, one from A to B and the other from B to A, to create the first one, it is B - A which will give you vector AB, and the other is A - B which will give you vector BA.