what if we added colour APIs, these are typically done with """vector""" types (see unity)
what if we added colour APIs, these are typically done with """vector""" types (see unity)
Color in System.NumericsNormalize, which trends towards 0 for integersColor class doesn't use a packed value, it stores float R, G, B, and A valuesPoint(2<int>, idk) return a Vector on subtraction, and then that way the difference is clear (like DateTime and Timespan Vector2<int> because it loses dataPow for integers, it is fundamentally lossy and ill suited for most needsVector2<float> and do the conversionsT in, T out and represent the concepts in a way that works well for the common needsPoint2<T>.Distance returns a Point2<T>, which represents the per dimension steppingVector2<T> to get it in terms of length (at the same total cost)ColorColorNormalizePoint(2<int>, idk)Vector2<int>PowVector2<float>