I started learning about XNA game studios today and was wondering what’s the differences between Vector2 and Vector4
Thanks 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Vector2contains 2 float-components. It is used mainly for 2D graphics (2D -> 2 components)Vector4contains 4 float-components. It is used for 3D graphics (in an 3D affine space, 3D affine transformations can be done using homogeneous coordinates (4 components))