1
Feature requests / Re: Vector2/Vector3 Zero member
« on: May 03, 2015, 11:34:45 am »
The use of it definitely sides on convenience, over performance. But yes, I agree this belongs in the same category as why the Vector classes don't have math functionality. I would vote yay on adding mathematical functionality to the Vector classes anyway (Normalize, Normalized, Magnitude, MagnitudeSqr, Dot, Cross), It's not often I am using a Vector class without needing such functionality.
And not that performance is really an issue as you mentioned, but adding a handful of const static vectors available is trivial.
I'm sure many people have gone out and written their own utility functions as I did to deal with the math operations. I'll check the other threads to follow the discussions on such operations in Vector classes, unless you want to explain why it's unlikely to be accepted in future versions?
And not that performance is really an issue as you mentioned, but adding a handful of const static vectors available is trivial.
I'm sure many people have gone out and written their own utility functions as I did to deal with the math operations. I'll check the other threads to follow the discussions on such operations in Vector classes, unless you want to explain why it's unlikely to be accepted in future versions?