0
\$\begingroup\$

If I understand correctly, Matrix.CreatePerspectiveFieldOfView(…) creates a Matrix that projects a Vector3 onto a 2D plane, which means that the Matrix transforms it into a Vector2. How do I actually perform this transformation and get that Vector2?

Vector3.Transform(…) and Vector2.Transform(…) return a Vector3 and Vector2 respectively, so I assume they aren't the right methods to use.

I've been searching for an answer for about two hours now, so I apologize if the answer is obvious (which I feel like it will be) and it seems like I just lazily went straight to StackExchange.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.