separate the concepts and help your users achieve success
separate the concepts and help your users achieve success
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)Point2<T>.DistancePoint2<T>Vector2<T>