This change adds Get to the Vector2 class, removes code duplication, adds CopyTo for vectors without System.Numerics and adds an exception for Get if the index is out of range.
Testing
Limited testing - made sure it compiled and ran a few local tests.
General Notes
This change adds
Get
to theVector2
class, removes code duplication, addsCopyTo
for vectors without System.Numerics and adds an exception forGet
if the index is out of range.Testing
Limited testing - made sure it compiled and ran a few local tests.