I want to use Vectors in a C# application I’m writing, sepcifically a Vector3.
What’s the best way for me to get a Vector type without writing my own?
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.
I used one in a POC that I found on CodeProject. It’s not ideal, but it worked for our situation. At the time, however, it did not have a method to reflect a Vector3 about a given normal, but that may have changed since then.
If you don’t mind using DirectX (some stay away from it for whatever reason), then there is a Vector3 type in that library as well.