Quantcast
Viewing all articles
Browse latest Browse all 6821

Project a Vector3 through a 3D camera onto a Vector2?

@NetherGranite wrote:

If I understand the the API's documentation correctly, Matrix.CreatePerspectiveFieldOfView(…) creates a Matrix that projects a Vector3 onto a 2D plane. How do I actually perform this transformation and get the resulting Vector2 projection?

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

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles