Transform 3d viewport vector to 2d vector
- by learning_sam
I am playing around with 3d transformations and came along an issue.
I have a 3d vector already within the viewport and need to transform it to a 2d vector. (let's say my screen is 10x10)
Does that just straight works like regualar transformation or is something different here?
i.e.: I have the vector a = (2, 1, 0) within the viewport and want…