thesadrogue / TheSadRogue.Primitives

A collection of primitive data structures for working with a 2-dimensional grid.
MIT License
21 stars 6 forks source link

Palette's GetNearest and GetNearestIndex Methods do not Document Behavior with Respect to Alpha #98

Open Chris3606 opened 1 year ago

Chris3606 commented 1 year ago

The distance calculation used in these methods doesn't take alpha into account at all. This behavior is undocumented currently.

I think either: